mirror of
https://github.com/status-im/safe-react.git
synced 2025-02-03 21:34:00 +00:00
Update release artifacts upload
Disable dev tools in production
This commit is contained in:
parent
456d28c37d
commit
8d69d958d8
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -80,21 +80,21 @@ jobs:
|
||||
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||
|
||||
- name: 'Upload Artifacts OSX'
|
||||
if: contains(github.ref, 'development') && startsWith(matrix.os, 'macos')
|
||||
if: startsWith(matrix.os, 'macos')
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Desktop OSX
|
||||
path: ./dist/Safe[ ]Multisig*.dmg
|
||||
|
||||
- name: 'Upload Artifacts Linux'
|
||||
if: contains(github.ref, 'release/v2.14.1') && startsWith(matrix.os, 'ubuntu')
|
||||
if: startsWith(matrix.os, 'ubuntu')
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Desktop Linux
|
||||
path: ./dist/Safe[ ]Multisig*.AppImage
|
||||
|
||||
- name: 'Upload Artifacts Windows'
|
||||
if: contains(github.ref, 'development') && startsWith(matrix.os, 'windows')
|
||||
if: startsWith(matrix.os, 'windows')
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Desktop Windows
|
||||
|
@ -104,8 +104,8 @@ function createWindow(port = DEFAULT_PORT) {
|
||||
if (isDev) {
|
||||
// Open the DevTools.
|
||||
//BrowserWindow.addDevToolsExtension('<location to your react chrome extension>');
|
||||
mainWindow.webContents.openDevTools()
|
||||
}
|
||||
mainWindow.webContents.openDevTools()
|
||||
|
||||
mainWindow.setMenu(null)
|
||||
mainWindow.setMenuBarVisibility(false)
|
||||
@ -141,7 +141,7 @@ process.on('uncaughtException', function (error) {
|
||||
})
|
||||
|
||||
app.userAgentFallback =
|
||||
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) old-airport-include/1.0.0 Chrome Electron/7.1.7 Safari/537.36'
|
||||
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) old-airport-include/1.0.0 Chrome Electron/9.3.1 Safari/537.36'
|
||||
|
||||
// We have one non-context-aware module in node_modules/usb. This is used by @ledgerhq/hw-transport-node-hid
|
||||
// This type of modules will be impossible to use after electron 10
|
||||
|
Loading…
x
Reference in New Issue
Block a user