fix: Run prettier

This commit is contained in:
LukeGus
2025-11-01 01:35:51 -05:00
parent a81ab8e7ef
commit 82d1cf09de
2 changed files with 8 additions and 3 deletions

View File

@@ -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

View File

@@ -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) {