Skip to content

Commit 708c17e

Browse files
committed
Update branding settings
1 parent 5901efd commit 708c17e

File tree

70 files changed

+18
-115
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+18
-115
lines changed

desktop/forge.config.ts

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ const electronModules = ["electron-serve"];
1616
const config: ForgeConfig = {
1717
outDir: "../build/desktop",
1818
packagerConfig: {
19-
icon: path.join(__dirname, "../shared-assets/icons/electron/pulse_logo_round"),
19+
name: "Pulse Editor",
20+
icon: path.join(__dirname, "../shared-assets/icons/electron/pulse_editor"),
2021
// Copy the electron modules and the nextjs build to the electron build.
2122
extraResource: electronModules
2223
.map((module) => `../node_modules/${module}`)
@@ -26,20 +27,14 @@ const config: ForgeConfig = {
2627
// We need electron-serve to exist inside the electron build's node_modules.
2728
// All other modules from nextjs are not needed and can be removed.
2829
if (platform === "win32") {
29-
moveModule(
30-
electronModules,
31-
path.join(extractPath, "resources"),
32-
)
30+
moveModule(electronModules, path.join(extractPath, "resources"));
3331
} else if (platform === "darwin") {
3432
moveModule(
3533
electronModules,
36-
path.join(extractPath, "pulse-editor.app/Contents/Resources"),
37-
)
34+
path.join(extractPath, "pulse-editor.app/Contents/Resources")
35+
);
3836
} else if (platform === "linux") {
39-
moveModule(
40-
electronModules,
41-
path.join(extractPath, "resources"),
42-
)
37+
moveModule(electronModules, path.join(extractPath, "resources"));
4338
}
4439

4540
done();
@@ -51,7 +46,10 @@ const config: ForgeConfig = {
5146
name: "@electron-forge/maker-deb",
5247
config: {
5348
options: {
54-
icon: path.join(__dirname, "../shared-assets/icons/electron/pulse_logo_round"),
49+
icon: path.join(
50+
__dirname,
51+
"../shared-assets/icons/electron/pulse_logo_round"
52+
),
5553
},
5654
},
5755
},

desktop/main.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import { fileURLToPath } from "url";
66
import fs from "fs";
77
import { createTerminalServer } from "./lib/node-pty-server.js";
88

9-
// Change path to "Pulse Studio"
10-
app.setName("Pulse Studio");
9+
// Change path to "Pulse Editor"
10+
app.setName("Pulse Editor");
1111
app.setPath(
1212
"userData",
13-
app.getPath("userData").replace("pulse-editor-desktop", "Pulse Studio")
13+
app.getPath("userData").replace("pulse-editor-desktop", "Pulse Editor")
1414
);
1515

1616
// Get the file path of the current module
@@ -40,7 +40,7 @@ function createWindow() {
4040
},
4141
icon: path.join(
4242
__dirname,
43-
"../shared-assets/icons/electron/pulse_logo_round"
43+
"../shared-assets/icons/electron/pulse_editor"
4444
),
4545
});
4646

mobile/android/app/src/main/AndroidManifest.xml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8" ?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
33
<application
44
android:allowBackup="true"
55
android:icon="@mipmap/ic_launcher"
66
android:label="@string/app_name"
77
android:roundIcon="@mipmap/ic_launcher_round"
88
android:supportsRtl="true"
9-
android:theme="@style/AppTheme"
10-
>
9+
android:theme="@style/AppTheme">
1110
<activity
1211
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode"
1312
android:name=".MainActivity"
@@ -26,8 +25,7 @@
2625
android:authorities="${applicationId}.fileprovider"
2726
android:exported="false"
2827
android:grantUriPermissions="true">
29-
<meta-data android:name="android.support.FILE_PROVIDER_PATHS"
30-
android:resource="@xml/file_paths" />
28+
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths" />
3129
</provider>
3230
</application>
3331

@@ -41,4 +39,4 @@
4139
<!-- Storage -->
4240
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
4341
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
44-
</manifest>
42+
</manifest>
-14.5 KB
1.31 KB
-2.96 KB
-14.5 KB
1.31 KB
-2.96 KB
-39.2 KB

0 commit comments

Comments
 (0)