From b8c17f495b208ecdfb2315ae6fe4d6d81f600dc3 Mon Sep 17 00:00:00 2001 From: Quang Lam Date: Wed, 18 Nov 2020 21:44:19 +0700 Subject: [PATCH] 15.1.0 --- .github/workflows/linux.yml | 2 +- .github/workflows/macos.yml | 2 +- .github/workflows/windows.yml | 2 +- package.json | 2 +- public/electron.js | 2 -- 5 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index e9a633dc..48220a39 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -43,7 +43,7 @@ jobs: - run: yarn lint - run: yarn test - name: Get tag name - run: echo ::set-env name=CI_BUILD_TAG::${GITHUB_REF/refs\/tags\//} + run: echo CI_BUILD_TAG=${GITHUB_REF/refs\/tags\//} >> $GITHUB_ENV if: startsWith(github.ref, 'refs/tags/') - run: yarn dist env: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 115b2510..e9411e16 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -41,7 +41,7 @@ jobs: - run: yarn lint - run: yarn test - name: Get tag name - run: echo ::set-env name=CI_BUILD_TAG::${GITHUB_REF/refs\/tags\//} + run: echo CI_BUILD_TAG=${GITHUB_REF/refs\/tags\//} >> $GITHUB_ENV if: startsWith(github.ref, 'refs/tags/') - run: yarn dist env: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 9637cd43..9bdb61ed 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -41,7 +41,7 @@ jobs: - run: yarn lint - run: yarn test - name: Get tag name - run: echo ::set-env name=CI_BUILD_TAG::${GITHUB_REF/refs\/tags\//} + run: echo CI_BUILD_TAG=${GITHUB_REF/refs\/tags\//} >> $GITHUB_ENV if: startsWith(github.ref, 'refs/tags/') shell: bash - run: yarn dist diff --git a/package.json b/package.json index 129ee522..79f4f391 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "Translatium", "description": "Translate Any Languages like a Pro", - "version": "15.0.1", + "version": "15.1.0", "main": "public/electron.js", "repository": "https://github.com/translatium/translatium", "author": { diff --git a/public/electron.js b/public/electron.js index 8c2fe89b..12cc53ea 100644 --- a/public/electron.js +++ b/public/electron.js @@ -256,8 +256,6 @@ if (!gotTheLock) { }); mainWindowState.manage(mainWindow); - mainWindow.webContents.openDevTools({ mode: 'detach' }); - mainWindow.on('enter-full-screen', () => { mainWindow.webContents.send('set-is-full-screen', true); });