You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+44Lines changed: 44 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,8 +34,52 @@ Run `npm i -g @electron-forge/cli` in your terminal to install electron in your
34
34
35
35
Packages used in your application not available at CRAN should be installed at your computer.
36
36
37
+
## How to use
38
+
39
+
Run `executablePackeR::pack()` at the same directory of your app.R
40
+
41
+
To check where you are, run `getwd()`.
42
+
43
+
For example, if your 'app.R' is located at "/Users/ChangwooLim/Desktop/my-app/app.R", you should run `executablePackeR::pack()` at "/Users/ChangwooLim/Desktop/my-app".
44
+
37
45
## Options
38
46
47
+
You can pass some parameters to adjust settings.
48
+
49
+
### App Name
50
+
51
+
You can pass app name like below. If you don't set, default is "myapp"
52
+
53
+
```
54
+
executablePackeR::pack(
55
+
#' app_name = "myapp",
56
+
#' [... more options]
57
+
#' )
58
+
```
59
+
60
+
### Electron Settings
61
+
62
+
Electron Settings are passed like below.
63
+
64
+
You can pass 5 parameters. If you don't pass anything, below is default.
65
+
66
+
The most important option is 'product_name_template', because it shows on the program window.
67
+
68
+
Now, version is fixed to '0.0.1'. It will be available to change version soon.
69
+
70
+
```
71
+
#' executablePackeR::pack(
72
+
#' electron_settings = list(
73
+
#' c("product_name_template", "My Own Product Name"),
0 commit comments