Skip to content

Commit 934044f

Browse files
Send this to my macbook please work
1 parent d380786 commit 934044f

File tree

2 files changed

+23
-10
lines changed

2 files changed

+23
-10
lines changed

PublishFiles/Space Station 14 Launcher.app/Contents/Info.plist

+16-10
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
2+
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5-
<key>CFBundleName</key>
6-
<string>SS14L</string>
7-
<key>CFBundleDisplayName</key>
8-
<string>Space Station 14 Launcher</string>
9-
<key>CFBundleExecutable</key>
10-
<string>SS14</string>
11-
<key>CFBundleIconFile</key>
12-
<string>ss14</string>
5+
<key>CFBundleName</key>
6+
<string>SS14L</string>
7+
<key>CFBundleDisplayName</key>
8+
<string>Space Station 14 Launcher</string>
9+
<key>CFBundleExecutable</key>
10+
<string>SS14</string>
11+
<!--
12+
Just a note about this icon.
13+
MacOS seems REALLY iffy about this and even when the file is correct,
14+
it can take forever before it decides to actually update it and display it.
15+
TL;DR Apple is stupid.
16+
-->
17+
<key>CFBundleIconFile</key>
18+
<string>ss14</string>
1319
<key>CFBundleIdentifier</key>
1420
<string>com.spacestation14.launcher</string>
1521
<key>CFBundleURLTypes</key>
@@ -33,7 +39,7 @@
3339
<string>rtbundle</string>
3440
</array>
3541
<key>CFBundleTypeIconFile</key>
36-
<string>ss14.icns</string>
42+
<string>ss14</string>
3743
<key>LSHandlerRank</key>
3844
<string>Owner</string>
3945
<key>CFBundleTypeName</key>

SS14.Launcher/App.xaml.cs

+7
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ public App()
3434
public App(OverrideAssetsManager overrideAssets)
3535
{
3636
_overrideAssets = overrideAssets;
37+
38+
UrlsOpened += OnOSXUrlsOpened;
39+
}
40+
41+
private void OnOSXUrlsOpened(object? sender, UrlOpenedEventArgs e)
42+
{
43+
Log.Debug("Url opened: {Url}", e.Urls);
3744
}
3845

3946
public override void Initialize()

0 commit comments

Comments
 (0)