Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into use-glibc-instead-o…
Browse files Browse the repository at this point in the history
…f-proot
  • Loading branch information
longjunyu2 committed Aug 3, 2024
2 parents d80353d + c96084d commit 92470ea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
<uses-feature
android:name="com.oculus.feature.PASSTHROUGH"
android:required="false" />
<uses-feature
android:name="oculus.software.handtracking"
android:required="false" />
<uses-feature
android:name="oculus.software.overlay_keyboard"
android:required="false" />
Expand Down Expand Up @@ -56,6 +59,7 @@
android:process=":vr_process"
android:theme="@style/AppThemeFullscreen">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="com.oculus.intent.category.VR" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
Expand Down
7 changes: 4 additions & 3 deletions app/src/main/java/com/winlator/container/Shortcut.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ public Shortcut(Container container, File file) {

int index;
for (String line : FileUtils.readLines(file)) {
index = line.indexOf("[");
if (index != -1) {
section = line.substring(index+1, line.indexOf("]", index));
line = line.trim();
if (line.isEmpty() || line.startsWith("#")) continue; // Skip empty lines and comments
if (line.startsWith("[")) {
section = line.substring(1, line.indexOf("]"));
}
else {
index = line.indexOf("=");
Expand Down

0 comments on commit 92470ea

Please sign in to comment.