mirror of
https://github.com/Eugeny/tabby.git
synced 2025-10-04 14:04:56 +00:00
fixed #649
This commit is contained in:
@@ -15,7 +15,7 @@ export class ButtonProvider extends ToolbarButtonProvider {
|
||||
hotkeys: HotkeysService,
|
||||
) {
|
||||
super()
|
||||
if (!electron.remote.process.env.DEV) {
|
||||
if (!electron.remote.process.env.TERMINUS_DEV) {
|
||||
setImmediate(async () => {
|
||||
let argv: string[] = electron.remote.process.argv
|
||||
for (let arg of argv.slice(1).concat([electron.remote.process.argv0])) {
|
||||
|
@@ -25,7 +25,7 @@ export class UACService {
|
||||
'UAC.exe',
|
||||
)
|
||||
|
||||
if (process.env.DEV) {
|
||||
if (process.env.TERMINUS_DEV) {
|
||||
helperPath = path.join(
|
||||
path.dirname(this.electron.app.getPath('exe')),
|
||||
'..', '..', '..',
|
||||
|
@@ -13,7 +13,7 @@ module.exports = {
|
||||
libraryTarget: 'umd',
|
||||
devtoolModuleFilenameTemplate: 'webpack-terminus-terminal:///[resource-path]',
|
||||
},
|
||||
mode: process.env.DEV ? 'development' : 'production',
|
||||
mode: process.env.TERMINUS_DEV ? 'development' : 'production',
|
||||
optimization: {
|
||||
minimize: false,
|
||||
},
|
||||
|
Reference in New Issue
Block a user