[go: nahoru, domu]

Skip to content

Commit

Permalink
Change the build instructions to reflect macOS-only nature of the app
Browse files Browse the repository at this point in the history
All Windows related and cross-platform related stuff is now gone.
  • Loading branch information
TomasHubelbauer committed Jun 11, 2024
1 parent 4af7934 commit b2d7c02
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ bun.lockb
lyrics/*
!lyrics/.gitkeep
token.json
builds
Lyrics-darwin-arm64
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@ I am manually using Electron Packager:
https://github.com/electron/packager

```
bunx electron-packager . Lyrics --platform darwin --arch arm64 --overwrite --ignore "(builds|lyrics|node_modules|.gitignore|bun.lockb|README.md|token.json)" --out builds
bunx electron-packager . Lyrics --overwrite --ignore "(lyrics|node_modules|.gitignore|bun.lockb|README.md|token.json)"
```

Run for macOS as a user:
Run emulating startup initiated by the user:

```
(cd builds; cd Lyrics-darwin-arm64; open Lyrics.app)
open Lyrics-darwin-arm64/Lyrics.app
```

To see console statements:
Run with the ability to see console statements:

```
./builds/Lyrics-darwin-arm64/Lyrics.app/Contents/MacOS/Lyrics
./Lyrics-darwin-arm64/Lyrics.app/Contents/MacOS/Lyrics
```

- `overwrite` is used to not skip previously built targets
- `overwrite` is used to force a new build each run
- `ignore` is used to ignore files not a part of the application bundle

The production builds require a working directory to be set to something because
Expand Down

0 comments on commit b2d7c02

Please sign in to comment.