-
Notifications
You must be signed in to change notification settings - Fork 702
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(build): convenience for packaging build for beta, details follow (…
…#5154) Use `yarn package:beta` to package an app build pointing to beta. * Does not require modifying code anymore. * Does not require user intervention (i.e. setting env vars before running the app). * Executable name is renamed to "Streamlabs OBS for Beta". * Forces local bundles, without it your development branch would likely be overwritten by the updater using remote bundles. * Compiles in development mode so that compilation is faster and we can troubleshoot non-minified logs. * Tested on Windows, Mac PR welcome :)
- Loading branch information
1 parent
be9f2c7
commit 56bf04d
Showing
6 changed files
with
33 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const base = require('./base.config'); | ||
|
||
base.win.extraFiles.push({ | ||
from: 'electron-builder/force-local-bundles', | ||
to: 'force-local-bundles', | ||
}); | ||
base.win.executableName = 'Streamlabs OBS for Beta'; | ||
|
||
module.exports = base; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
This does nothing, the presence of this file means the updater for beta build | ||
will use local bundles. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters