Skip to content

Commit

Permalink
Fix bug when launching from /applications on macos re#65
Browse files Browse the repository at this point in the history
  • Loading branch information
Kilian committed Jul 31, 2018
1 parent c2ee2a1 commit 0b86924
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ npm run dev
```
### Command Line Arguments
**Portable Mode**
`-p, --portable`
`--portable`

Lets you store all the files FromScratch generates in a specified location, such as a USB-stick or
other portable storage device. In this mode both the configuration files as well as your text content will be stored in
Expand Down
3 changes: 1 addition & 2 deletions app/main.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,14 @@ if (isSecondInstance) {
string: ['portable'],
alias: {
help: 'h',
portable: 'p',
},
});

if (argv.help) {
console.log(`Usage: fromscratch [OPTION]...
Optional arguments:
-p, --portable [DIRECTORY] run in portable mode, saving data in executable directory, or in alternate path
--portable [DIRECTORY] run in portable mode, saving data in executable directory, or in alternate path
-h, --help show this usage text.
`);

Expand Down
2 changes: 1 addition & 1 deletion app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "FromScratch",
"version": "1.4.0",
"version": "1.4.1",
"description": "simple autosaving scratchpad",
"main": "./main.prod.js",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "fromscratch",
"productName": "FromScratch",
"version": "1.4.0",
"version": "1.4.1",
"description": "simple autosaving scratchpad",
"scripts": {
"build": "concurrently \"npm run build-main\" \"npm run build-renderer\"",
Expand Down Expand Up @@ -36,7 +36,7 @@
],
"dmg": {
"icon": "resources/icon.icns",
"window" : {
"window": {
"width": 540,
"height": 380
},
Expand Down

0 comments on commit 0b86924

Please sign in to comment.