fix: Run prettier
This commit is contained in:
2
.github/workflows/electron.yml
vendored
2
.github/workflows/electron.yml
vendored
@@ -464,7 +464,7 @@ jobs:
|
||||
if: steps.check_asc_creds.outputs.has_credentials == 'true' && github.event.inputs.artifact_destination == 'submit'
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: '3.2'
|
||||
ruby-version: "3.2"
|
||||
bundler-cache: false
|
||||
|
||||
- name: Install Fastlane
|
||||
|
||||
@@ -43,7 +43,12 @@ if (!gotTheLock) {
|
||||
function createWindow() {
|
||||
const appVersion = app.getVersion();
|
||||
const electronVersion = process.versions.electron;
|
||||
const platform = process.platform === "win32" ? "Windows" : process.platform === "darwin" ? "macOS" : "Linux";
|
||||
const platform =
|
||||
process.platform === "win32"
|
||||
? "Windows"
|
||||
: process.platform === "darwin"
|
||||
? "macOS"
|
||||
: "Linux";
|
||||
|
||||
mainWindow = new BrowserWindow({
|
||||
width: 1200,
|
||||
@@ -68,7 +73,7 @@ function createWindow() {
|
||||
}
|
||||
|
||||
mainWindow.webContents.setUserAgent(
|
||||
`Termix-Desktop/${appVersion} (${platform}; Electron/${electronVersion})`
|
||||
`Termix-Desktop/${appVersion} (${platform}; Electron/${electronVersion})`,
|
||||
);
|
||||
|
||||
if (isDev) {
|
||||
|
||||
Reference in New Issue
Block a user