Skip to content

Commit

Permalink
fix macos bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
ronny1982 committed Jan 22, 2023
1 parent 60ae43d commit 3917d34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/nw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"scripts": {
"check": "eslint ./src",
"build": "node ./scripts/build-app.mjs && tsc",
"bundle": "node ./scripts/deploy-app.mjs",
"bundle": "npm run build && node ./scripts/deploy-app.mjs",
"test": "jest --detectOpenHandles --passWithNoTests --config=test/jest.config.js",
"launch:dev": "npm run build && nw ./build --origin=http://localhost:3000",
"launch:prod": "npm run build && nw ./build --origin=http://localhost:5000"
Expand Down
4 changes: 2 additions & 2 deletions app/res/darwin/setup.scpt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tell application "Finder"
tell disk "HakuNeko"
tell disk "HaruNeko"
open
set current view of container window to icon view
set toolbar visible of container window to false
Expand All @@ -10,7 +10,7 @@ tell application "Finder"
set icon size of theViewOptions to 64
set background picture of theViewOptions to file ".images:setup.png"
make new alias file at container window to POSIX file "/Applications" with properties {name:"Applications"}
set position of item "HakuNeko.app" of container window to {360, 180}
set position of item "HaruNeko.app" of container window to {360, 180}
set position of item "Applications" of container window to {360, 390}
set position of item ".fseventsd" of container window to {180, 620}
set position of item ".images" of container window to {280, 620}
Expand Down

0 comments on commit 3917d34

Please sign in to comment.