Skip to content

Commit 1cb16b7

Browse files
committed
change appicon
1 parent fe08609 commit 1cb16b7

File tree

9 files changed

+15
-10
lines changed

9 files changed

+15
-10
lines changed

PathToGo/Assets.xcassets/AppIcon.appiconset/Contents.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
{
3434
"size" : "256x256",
3535
"idiom" : "mac",
36-
"filename" : "appicon.png",
36+
"filename" : "appIcon256@1x.png",
3737
"scale" : "1x"
3838
},
3939
{
@@ -42,13 +42,15 @@
4242
"scale" : "2x"
4343
},
4444
{
45-
"idiom" : "mac",
4645
"size" : "512x512",
46+
"idiom" : "mac",
47+
"filename" : "[email protected]",
4748
"scale" : "1x"
4849
},
4950
{
50-
"idiom" : "mac",
5151
"size" : "512x512",
52+
"idiom" : "mac",
53+
"filename" : "[email protected]",
5254
"scale" : "2x"
5355
}
5456
],
42.9 KB
Loading
145 KB
Loading
520 KB
Loading
-15.8 KB
Binary file not shown.

PathToGo/PathToGo.entitlements

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
4-
<dict>
5-
<key>com.apple.security.app-sandbox</key>
6-
<false/>
7-
</dict>
4+
<dict/>
85
</plist>

PathToGo/ScriptService.swift

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,23 @@ import Cocoa
1111
struct ScriptService {
1212

1313
static func copyCurrentFinderPath() {
14+
// guard let scriptUrl = Bundle.main.path(forResource: "copyCurrentPath", ofType: "scpt"),
15+
// let string = try? String(contentsOf: URL(fileURLWithPath: scriptUrl)) else {
16+
// return
17+
// }
1418
guard let scriptUrl = Bundle.main.path(forResource: "copyCurrentPath", ofType: "scpt"),
15-
let string = try? String(contentsOf: URL(fileURLWithPath: scriptUrl)) else {
19+
let script = NSAppleScript(contentsOf: URL(fileURLWithPath: scriptUrl), error: nil) else {
1620
return
1721
}
1822
// guard let scriptUrl = Bundle.main.url(forResource: "copyCurrentPath", withExtension: "scpt"),
1923
// let string = try? String(contentsOf: scriptUrl) else {
2024
// return
2125
// }
2226

23-
let script = NSAppleScript(source: string)
24-
guard let pathString = script?.executeAndReturnError(nil).stringValue else {
27+
28+
29+
// let script = NSAppleScript(source: appleScript)
30+
guard let pathString = script.executeAndReturnError(nil).stringValue else {
2531
return
2632
}
2733

multiselect.gif

-391 KB
Loading

screenshot.gif

-281 KB
Loading

0 commit comments

Comments
 (0)