Skip to content

Commit 6e1195f

Browse files
🚀 feat: update electron-builder config, bump version, and extend global types
- Updated the output directory in `electron-builder.json5` to `release/0.0.9`. This change aligns with the new application version, ensuring that build artifacts are correctly versioned. - Incremented the version in `package.json` to `0.0.9`. This version bump reflects new features or fixes added since the last release, maintaining a clear versioning history. - Added `requestPermission` method to the global type definitions in `types.d.ts`. This extension provides a typed interface for requesting permissions within the application, improving code readability and maintainability.
1 parent a389c13 commit 6e1195f

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎electron-builder.json5‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
afterSign: "electron-builder-notarize",
1010
directories: {
1111
// manually increase due to issue with Windows nsis
12-
output: "release/0.0.8",
12+
output: "release/0.0.9",
1313
buildResources: "build",
1414
},
1515
files: ["dist", "dist-electron"],

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "screenlink-desktop",
33
"private": true,
4-
"version": "0.0.8",
4+
"version": "0.0.9",
55
"author": "Screenlink",
66
"description": "Screenlink Desktop",
77
"scripts": {

‎types.d.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ declare global {
2626
getAccount: () => Promise<Account>;
2727
getPreferences: () => Promise<Preference[]>;
2828
updatePreferences: (preferences: Preference[]) => Promise<void>;
29+
requestPermission: (permission: string) => Promise<boolean>;
2930
};
3031
}
3132
}

0 commit comments

Comments
 (0)