Compare commits

...

185 Commits
v1.0.0 ... main

Author SHA1 Message Date
Agampreet Singh
d293b80829 Update Home URL in menu
The Home option will now load the custom home page set by the user (if any)
2025-03-22 15:19:34 +05:30
Agampreet Singh
975265dd02 Remove Aptabase Tracking 2025-03-22 14:04:20 +05:30
renovate[bot]
4c78fdb40c chore(deps): update dependency eslint to v9.23.0 (#298)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-22 13:55:51 +05:30
renovate[bot]
ad4a55c8ec chore(deps): update yarn to v4.7.0 (#300)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-22 13:55:43 +05:30
renovate[bot]
076764c692 fix(deps): update dependency electron-store to v10.0.1 (#303)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-22 13:55:32 +05:30
renovate[bot]
a8b27d1374 fix(deps): update dependency electron-log to v5.3.2 (#304)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-22 13:55:17 +05:30
renovate[bot]
3d1ebf20a4 fix(deps): update dependency electron-context-menu to v4.0.5 (#305)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-22 13:54:59 +05:30
renovate[bot]
7f5f9efd96 chore(deps): update dependency prettier to v3.5.3 (#306)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-22 13:54:47 +05:30
renovate[bot]
b25735efc4 fix(deps): update dependency node-gyp to v11.1.0 (#307)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-22 13:54:39 +05:30
renovate[bot]
d54ea55b7c chore(deps): update dependency electron to v35.0.3 (#311)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-22 13:54:29 +05:30
renovate[bot]
4a20ffa428 fix(deps): update dependency @xhayper/discord-rpc to v1.2.1 (#312)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-22 13:54:18 +05:30
renovate[bot]
1e125f0639 fix(deps): update dependency axios to v1.8.4 (#313)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-22 13:54:10 +05:30
renovate[bot]
56a0ce9867 fix(deps): update dependency axios to v1.8.3 (#308)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-18 13:31:48 +05:30
renovate[bot]
a512def03c chore(deps): update dependency electron to v35 (#309)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-18 13:31:35 +05:30
renovate[bot]
911f9494de fix(deps): update dependency electron-log to v5.2.4 (#291)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-06 11:57:42 +05:30
renovate[bot]
78531e1223 chore(deps): update dependency electron to v33.2.1 (#290)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-06 11:57:31 +05:30
renovate[bot]
ef3df90c36 chore(deps): update yarn to v4.5.3 (#293)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-06 11:57:03 +05:30
renovate[bot]
f91e52a9ba chore(deps): update dependency eslint to v9.16.0 (#292)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-06 11:56:49 +05:30
renovate[bot]
d0f7c484ec fix(deps): update dependency axios to v1.7.9 (#294)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-06 11:56:29 +05:30
renovate[bot]
c81c2c4767 chore(deps): update dependency prettier to v3.4.2 (#295)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-06 11:56:19 +05:30
renovate[bot]
f2d65bfc7a fix(deps): update dependency node-gyp to v11 (#297)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-06 11:56:03 +05:30
renovate[bot]
7ccf303d43 chore(deps): update dependency electron to v33.0.2 (#289)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-02 10:57:39 +05:30
renovate[bot]
6b0431f435 chore(deps): update dependency eslint to v9.14.0 (#277)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-02 10:42:10 +05:30
renovate[bot]
17c320e185 fix(deps): update dependency electron-updater to v6.3.9 (#282)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-02 10:42:02 +05:30
renovate[bot]
e592d94ff7 chore(deps): update dependency electron-builder to v25.1.8 (#283)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-02 10:41:54 +05:30
renovate[bot]
1067c8611f chore(deps): update actions/checkout digest to 11bd719 (#284)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-02 10:41:46 +05:30
renovate[bot]
7854c45c59 chore(deps): update dependency electron to v33 (#286)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-02 10:41:27 +05:30
renovate[bot]
67bea6101b fix(deps): update dependency @cliqz/adblocker-electron to v1.34.0 (#287)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-02 10:41:19 +05:30
renovate[bot]
5d81b725af chore(deps): update yarn to v4.5.1 (#288)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-02 10:41:11 +05:30
renovate[bot]
8e4ccf4670 fix(deps): update dependency @cliqz/adblocker-electron to v1.33.2 (#270)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-21 15:04:48 +05:30
renovate[bot]
9b56ef4903 chore(deps): update dependency electron to v32.1.2 (#271)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-21 15:04:35 +05:30
renovate[bot]
c195ebbe75 fix(deps): update dependency electron-log to v5.2.0 (#272)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-21 15:04:27 +05:30
renovate[bot]
479893e5b4 chore(deps): update dependency eslint to v9.11.0 (#273)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-21 15:04:17 +05:30
renovate[bot]
dd98d975b8 chore(deps): update yarn to v4.5.0 (#275)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-21 15:04:01 +05:30
renovate[bot]
52b4c4513a fix(deps): update dependency @cliqz/adblocker-electron to v1.33.1 (#263)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 18:25:07 +05:30
renovate[bot]
9fb83b8b00 fix(deps): update dependency axios to v1.7.7 (#265)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 18:23:31 +05:30
renovate[bot]
71c4146679 fix(deps): update dependency electron-updater to v6.3.4 (#268)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 18:23:26 +05:30
renovate[bot]
7fe0ea5fc4 chore(deps): update dependency eslint to v9.9.1 (#266)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 18:19:48 +05:30
renovate[bot]
9f89a9f0b8 chore(deps): update yarn to v4.4.1 (#267)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 18:19:17 +05:30
renovate[bot]
8b7a804784 fix(deps): update dependency electron-context-menu to v4.0.4 (#264)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 18:19:03 +05:30
renovate[bot]
650d9e6c9d chore(deps): update dependency electron to v32.0.1 (#262)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 18:18:50 +05:30
renovate[bot]
388a4ca247 chore(deps): update dependency electron-builder to v25 (#269)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 18:18:27 +05:30
renovate[bot]
60847f12fe chore(deps): update dependency electron to v32 (#261)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-20 23:27:58 +05:30
renovate[bot]
d2490fbc52 fix(deps): update dependency axios to v1.7.4 (#258)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-20 01:40:40 +05:30
Agampreet Singh
78a8a3b969 Bump version to 2.1.0 2024-08-20 01:29:56 +05:30
Agampreet Singh
8c6aa9f5fa Fix external URL opening even if the protocol is not http or https 2024-08-20 01:13:53 +05:30
renovate[bot]
360c874e5d chore(deps): update dependency electron to v31.4.0 (#259)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-20 00:25:37 +05:30
renovate[bot]
a0cb6259ae chore(deps): update dependency eslint to v9.9.0 (#257)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-10 11:37:59 +05:30
Agampreet Singh
fd7d61b291 Remove ad div in Outlook when adblocking is enabled 2024-08-09 19:07:33 +05:30
Agampreet Singh
c2c91002d2 Add setting for external link handling
Introduced an option for users to open external links in their default browser rather than within the app. Enabled by default, can be configured in menu.

#240
2024-08-09 18:24:35 +05:30
renovate[bot]
0066e6c5d0 fix(deps): update dependency @xhayper/discord-rpc to v1.2.0 (#249)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 18:59:25 +05:30
renovate[bot]
aa1e367521 fix(deps): update dependency electron-log to v5.1.7 (#248)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 18:58:36 +05:30
renovate[bot]
33498611cf chore(deps): update dependency electron to v31.3.1 (#250)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 18:56:00 +05:30
renovate[bot]
ff2eb6800a chore(deps): update dependency eslint to v9.8.0 (#251)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 18:55:42 +05:30
renovate[bot]
fac66cce16 fix(deps): update dependency @cliqz/adblocker-electron to v1.31.3 (#254)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 18:55:34 +05:30
renovate[bot]
eb526c4ec9 fix(deps): update dependency axios to v1.7.3 (#255)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 18:55:25 +05:30
renovate[bot]
eb10d3def9 chore(deps): update yarn to v4.4.0 (#256)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 18:55:10 +05:30
renovate[bot]
b8f4a5eba5 chore(deps): update dependency eslint to v9 (#247)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-22 14:04:46 +05:30
Agampreet Singh
9a9af15e2e Introduce Aptabase tracking preference
- Add an option to enable or disable Aptabase tracking for users, in the app menu.

- Also give users a prompt on the app's first launch to choose their preference.
2024-07-22 14:04:26 +05:30
Agampreet Singh
c4e72a6e47 Enhanced error handling for AptaBase init and tracking 2024-07-22 13:39:51 +05:30
Agampreet Singh
dc5b3c86d5 Refactor config and simplify error handling
- Moved several utility and configuration files (rpc.js, store.js, dimensions.js, and menu.js) to a new `config` directory to improve project organization.

- This refactor does not affect the functionality of the app.
2024-07-22 13:21:44 +05:30
Agampreet Singh
67d61a4cc9 Add Default window size and custom size option
- Default window size has been set as the size as 71% width and 74% height of the screen's resolution, which won't make the window size too small for large monitors.

- Additionally, implemented a new menu option allowing users to select or set custom default window sizes.

Resolves #246
2024-07-22 12:13:59 +05:30
Agampreet Singh
ffc3042053 Refactor landing page and make it responsive 2024-07-21 18:23:39 +05:30
Agampreet Singh
1068ed3a55 Add Prettier and Prettier-ESLint 2024-07-21 17:04:59 +05:30
Agampreet Singh
55d3e94cf9 Move store-related code from menu.js to store.js 2024-07-21 16:53:30 +05:30
Agampreet Singh
e2abaca1e8 Merge common menu items 2024-07-21 16:38:38 +05:30
renovate[bot]
675deb3bbf chore(deps): update yarn to v4.3.1 (#235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-21 13:45:48 +05:30
renovate[bot]
f6cf3d92bf chore(deps): update dependency electron to v31 (#236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-21 13:35:55 +05:30
renovate[bot]
7a3f3c28df fix(deps): update dependency @cliqz/adblocker-electron to v1.30.0 (#233)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-21 13:34:06 +05:30
renovate[bot]
abbab926fe chore(deps): update dependency electron to v30.3.0 (#234)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-21 13:33:54 +05:30
renovate[bot]
35f8bbdcd3 chore(deps): update actions/checkout digest to 692973e (#237)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-21 13:31:46 +05:30
renovate[bot]
3c96dd5d12 chore(deps): update dependency eslint to v9.7.0 (#238)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-21 13:31:33 +05:30
renovate[bot]
8310966216 fix(deps): update dependency electron-context-menu to v4.0.1 (#242)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-21 13:28:48 +05:30
renovate[bot]
795ddb6e30 fix(deps): update dependency electron-store to v10 (#239)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-21 13:28:36 +05:30
renovate[bot]
4c9e57a6d4 fix(deps): update dependency node-gyp to v10.2.0 (#244)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-21 13:27:41 +05:30
renovate[bot]
a9ce64c986 fix(deps): update dependency electron-log to v5.1.6 (#245)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-21 13:27:33 +05:30
renovate[bot]
265a33f2a8 fix(deps): update dependency electron-log to v5.1.5 (#228)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 18:06:54 +05:30
renovate[bot]
70cce42bd3 fix(deps): update dependency axios to v1.7.2 (#230)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 18:06:44 +05:30
renovate[bot]
667d5e4422 chore(deps): update dependency eslint to v9.4.0 (#229)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 18:06:32 +05:30
renovate[bot]
338ecea70d chore(deps): update actions/checkout digest to a5ac7e5 (#231)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 18:06:22 +05:30
renovate[bot]
295f189a8f fix(deps): update dependency @cliqz/adblocker-electron to v1.27.6 (#232)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 18:05:46 +05:30
renovate[bot]
fda67cccd4 chore(deps): update dependency electron to v30.0.9 (#227)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 18:05:35 +05:30
renovate[bot]
9774c4f4f7 chore(deps): update yarn to v4.2.2 (#225)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 18:05:23 +05:30
Agampreet Singh
4cc4f71535 Bump version to 2.0.0 2024-05-08 23:03:48 +05:30
Agampreet Singh
6f49a5554f Enable/Disable ad blocking in all windows when turned on/off from menu 2024-05-08 21:53:13 +05:30
Agampreet Singh
aaa862364e Add "Custom Home Page" option
This lets you choose the custom page to load when you start the app.
2024-05-08 21:32:17 +05:30
Agampreet Singh
0a3e4514a9 Update "Supported Platforms" list 2024-05-08 20:28:57 +05:30
Agampreet Singh
701d63c900 Update yarn.lock 2024-05-08 15:59:30 +05:30
renovate[bot]
8f24d0184a fix(deps): update dependency @cliqz/adblocker-electron to v1.27.3 (#224)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-08 12:29:50 +05:30
Agampreet Singh
34fdc82b50 Add custom scrollbar to web contents 2024-05-08 12:28:56 +05:30
Agampreet Singh
48bab03708 Refactor main window creation and configuration 2024-05-08 00:59:05 +05:30
Agampreet Singh
af448cac3d Override height and width of every new window created 2024-05-08 00:46:02 +05:30
Agampreet Singh
102126d6d3 Update useragent strings 2024-05-08 00:30:26 +05:30
Agampreet Singh
0b308b066f Remove about-window package 2024-05-08 00:29:06 +05:30
Agampreet Singh
e60ffc52c9 Remove unused require statement in openExternalLink function 2024-05-08 00:16:54 +05:30
Agampreet Singh
ed0e90c451 Add Aptabase 2024-05-07 19:26:01 +05:30
Agampreet Singh
3f67f7575f Revert "Add Google Analytics tracking code"
This reverts commit c094b28f74.
2024-05-07 16:23:29 +05:30
Agampreet Singh
9fac90d90b refactor: convert to ESM syntax 2024-05-07 15:43:33 +05:30
renovate[bot]
36e42e311b fix(deps): update dependency electron-context-menu to v4 (#221)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-06 15:53:48 +05:30
renovate[bot]
bffa016eb9 chore(deps): update yarn to v4.2.1 (#220)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-06 15:42:38 +05:30
renovate[bot]
c85ae12648 chore(deps): update dependency eslint to v9 (#213)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-06 15:42:05 +05:30
renovate[bot]
bc7968978a chore(deps): update dependency electron to v30 (#215)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-06 15:41:51 +05:30
renovate[bot]
058711af45 fix(deps): update dependency electron-dl to v4 (#222)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-06 15:39:20 +05:30
renovate[bot]
179c52c28b chore(deps): update actions/checkout digest to 0ad4b8f (#217)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-06 15:39:10 +05:30
renovate[bot]
acdae139d6 fix(deps): update dependency @cliqz/adblocker-electron to v1.27.2 (#212)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-06 15:37:36 +05:30
renovate[bot]
9a0bdc8fae fix(deps): update dependency electron-store to v9 (#223)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-06 15:36:31 +05:30
renovate[bot]
81fe8c3ec0 chore(deps): update dependency electron to v29.3.2 (#211)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-06 15:36:01 +05:30
Agampreet Singh
8887d8a365 Add Void Linux installation instructions (#214) 2024-05-06 15:34:01 +05:30
Agampreet Singh
83ecdcd09b Update version to 1.2.0 2024-03-27 23:50:46 +05:30
Agampreet Singh
191876de3d Update useragent strings 2024-03-26 16:52:16 +05:30
renovate[bot]
56ab9b5007 fix(deps): update dependency node-gyp to v10.1.0 (#210)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-26 11:12:13 +05:30
renovate[bot]
7de220f5c6 chore(deps): update dependency electron to v29.1.5 (#209)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-21 18:18:27 +05:30
renovate[bot]
7c295c51e6 fix(deps): update dependency axios to v1.6.8 (#208)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-17 18:39:01 +05:30
renovate[bot]
34fc4ede8d chore(deps): update dependency electron to v29.1.4 (#207)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-14 22:27:38 +05:30
renovate[bot]
dc23b1a58d fix(deps): update dependency electron-updater to v6.1.8 (#196)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-13 15:58:05 +05:30
renovate[bot]
664ddf81bf chore(deps): update dependency electron-builder to v24.13.3 (#195)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-13 15:41:25 +05:30
renovate[bot]
705f0447e7 chore(deps): update dependency electron to v29.1.2 (#206)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-13 15:25:13 +05:30
renovate[bot]
69565c589a chore(deps): update dependency electron to v29 (#197)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-13 15:10:34 +05:30
renovate[bot]
75d032248f fix(deps): update dependency @cliqz/adblocker-electron to v1.26.16 (#198)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-13 15:10:03 +05:30
renovate[bot]
7bd0ad2462 chore(deps): update dependency eslint to v8.57.0 (#199)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-13 15:09:12 +05:30
renovate[bot]
dc64f14fcb chore(deps): update yarn to v4.1.1 (#202)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-13 15:08:57 +05:30
renovate[bot]
6e7a551d86 fix(deps): update dependency electron-store to v8.2.0 (#204)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-13 15:08:49 +05:30
renovate[bot]
477f534049 fix(deps): update dependency electron-log to v5.1.2 (#205)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-13 15:08:40 +05:30
renovate[bot]
25ac26214b chore(deps): update dependency electron to v28.2.2 (#192)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-13 18:50:25 +05:30
renovate[bot]
e884d01cb1 chore(deps): update dependency electron-builder to v24.13.0 (#193)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-13 18:50:09 +05:30
renovate[bot]
729e9e276d chore(deps): update dependency electron to v28.2.1 (#189)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-04 18:33:02 +05:30
renovate[bot]
df135f9578 fix(deps): update dependency electron-log to v5.1.1 (#190)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-04 18:32:44 +05:30
renovate[bot]
e333196dc2 fix(deps): update dependency electron-dl to v3.5.2 (#191)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-04 18:32:35 +05:30
renovate[bot]
77c7cb08c0 chore(deps): update yarn to v4.1.0 (#188)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-31 22:49:44 +05:30
renovate[bot]
96a4020e1e chore(deps): update dependency electron to v28.2.0 (#185)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-31 22:46:07 +05:30
renovate[bot]
cbe9194a35 fix(deps): update dependency axios to v1.6.7 (#186)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-31 22:45:36 +05:30
renovate[bot]
e238550568 chore(deps): update dependency electron-builder to v24.12.0 (#187)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-31 22:45:11 +05:30
renovate[bot]
e942b06a10 fix(deps): update dependency electron-log to v5.1.0 (#184)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-31 22:45:02 +05:30
renovate[bot]
affc7bb676 chore(deps): update dependency electron to v28.1.4 (#180)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-19 19:44:40 +05:30
renovate[bot]
4d0d742520 fix(deps): update dependency axios to v1.6.5 (#181)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-19 19:44:32 +05:30
renovate[bot]
686d3ac491 fix(deps): update dependency @cliqz/adblocker-electron to v1.26.15 (#182)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-19 19:44:25 +05:30
renovate[bot]
6a706a96f4 chore(deps): update dependency electron-builder to v24.11.0 (#183)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-19 19:44:17 +05:30
renovate[bot]
bcd15e05cd fix(deps): update dependency electron-log to v5.0.3 (#179)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-29 12:31:02 +05:30
renovate[bot]
c9ea1d2d3b fix(deps): update dependency axios to v1.6.3 (#178)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-28 22:28:10 +05:30
Agampreet Singh
c094b28f74 Add Google Analytics tracking code 2023-12-26 13:04:44 +05:30
Agampreet Singh
62932046e4 Handle exception when closing window
- Prevents showing an error if someone tries to close a window with shortcut key if there is no window opened in macOS
2023-12-24 23:16:52 +05:30
Agampreet Singh
6ff03b85b9 Set default value for opening websites in new window 2023-12-24 22:16:05 +05:30
Agampreet Singh
83a1084e06 Update version to 1.1.0 2023-12-24 20:14:37 +05:30
Agampreet Singh
2db6bb827c Update MS 365 account labels in menu (2/2) 2023-12-24 19:56:35 +05:30
Agampreet Singh
9faa1cde1f Update window dimensions in menu.js 2023-12-24 19:54:12 +05:30
Agampreet Singh
6d209c1a5b Introducing separate sessions for Work/School and Personal accounts!
- You might have to login again, sorry for the cute little incovenience
2023-12-24 19:52:25 +05:30
Agampreet Singh
ec2421da96 Update MS 365 account labels in menu 2023-12-24 13:35:28 +05:30
renovate[bot]
09ef206be5 fix(deps): update dependency electron-log to v5.0.2 (#177)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-24 13:30:43 +05:30
Agampreet Singh
e12e5b39b4 Update README 2023-12-23 23:26:12 +05:30
Agampreet Singh
8dceb827d6 Update user-agent strings 2023-12-23 22:34:39 +05:30
Agampreet Singh
92a7b9376d FIx autohide menubar functionality not working when a new window is created (#162) 2023-12-23 13:42:53 +05:30
renovate[bot]
a13d790df3 chore(deps): update dependency electron to v28.1.0 (#175)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-23 13:27:53 +05:30
renovate[bot]
09d24e3948 fix(deps): update dependency @xhayper/discord-rpc to v1.1.2 (#176)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-23 13:27:36 +05:30
Agampreet Singh
2cc3d0c953 Update title to reflect MS-365-Electron 2023-12-21 20:06:07 +05:30
renovate[bot]
d5eba0741f chore(deps): update dependency electron-builder to v24.10.0 (#172)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-20 22:18:42 +05:30
renovate[bot]
102746ec3c chore(deps): update actions/upload-artifact action to v4 (#173)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-20 22:18:32 +05:30
renovate[bot]
529147bf01 chore(deps): update dependency eslint to v8.56.0 (#174)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-20 22:18:03 +05:30
Agampreet Singh
39bd965a90 Remove unused Yarn plugin and update yarn.lock 2023-12-08 19:13:48 +05:30
renovate[bot]
d203b214ec chore(deps): update yarn to v4 (#170)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 22:43:52 +05:30
renovate[bot]
2b0eb255eb fix(deps): update dependency electron-updater to v6.1.7 (#164)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 22:39:15 +05:30
renovate[bot]
876ad5dfb7 fix(deps): update dependency @xhayper/discord-rpc to v1.1.1 (#156)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 22:39:05 +05:30
renovate[bot]
796c4f63fd fix(deps): update dependency @cliqz/adblocker-electron to v1.26.12 (#151)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 22:38:54 +05:30
renovate[bot]
a3ee81bc32 chore(deps): update actions/checkout digest to b4ffde6 (#153)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 22:38:41 +05:30
renovate[bot]
0800464da5 fix(deps): update dependency axios to v1.6.2 (#155)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 22:35:03 +05:30
renovate[bot]
03e009b301 fix(deps): update dependency electron-dl to v3.5.1 (#159)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 22:34:54 +05:30
renovate[bot]
805f5e1587 chore(deps): update dependency electron-builder to v24.9.1 (#166)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 22:34:38 +05:30
renovate[bot]
643b2c134c chore(deps): update actions/setup-node action to v4 (#167)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 22:34:29 +05:30
renovate[bot]
37754a6168 chore(deps): update actions/stale action to v9 (#168)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 22:32:15 +05:30
renovate[bot]
45b287dba6 fix(deps): update dependency electron-log to v5.0.1 (#149)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 22:31:53 +05:30
renovate[bot]
10bf359f15 chore(deps): update dependency electron to v28 (#169)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 22:31:44 +05:30
renovate[bot]
69fd40ba07 fix(deps): update dependency node-gyp to v10 (#171)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 22:30:31 +05:30
renovate[bot]
38359f68d1 chore(deps): update yarn to v3.7.0 (#157)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 22:30:16 +05:30
renovate[bot]
942115fab9 chore(deps): update dependency eslint to v8.55.0 (#154)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 21:43:30 +05:30
renovate[bot]
9647ca2214 chore(deps): update dependency electron to v26 (#143)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-09 12:07:08 +05:30
renovate[bot]
cd7ba5d5b4 chore(deps): update dependency eslint to v8.49.0 (#142)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-09 12:06:45 +05:30
renovate[bot]
13d5a51c67 fix(deps): update dependency @xhayper/discord-rpc to v1.0.22 (#141)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-09 12:06:39 +05:30
renovate[bot]
225f8b2b63 chore(deps): update dependency electron to v25.8.0 (#140)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-09 12:06:33 +05:30
renovate[bot]
3c758d6332 chore(deps): update yarn to v3.6.3 (#144)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-09 12:06:25 +05:30
renovate[bot]
4dd73fc13c fix(deps): update dependency electron-log to v5.0.0-beta.28 (#145)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-09 12:05:54 +05:30
renovate[bot]
7f7b759706 fix(deps): update dependency axios to v1.5.0 (#146)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-09 12:05:43 +05:30
renovate[bot]
b586c1c48c chore(deps): update dependency electron-builder to v24.6.4 (#147)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-09 12:05:36 +05:30
renovate[bot]
eda2165706 chore(deps): update actions/checkout action to v4 (#148)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-09 12:05:29 +05:30
Agampreet Singh
075ddf615e Remove latest downloads button from README 2023-08-08 10:39:56 +05:30
renovate[bot]
2f42a345bf chore(deps): update dependency eslint to v8.46.0 (#138)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-03 16:08:12 +05:30
renovate[bot]
b08c91a50e chore(deps): update dependency electron to v25.4.0 (#139)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-03 16:08:07 +05:30
107 changed files with 5607 additions and 4615 deletions

View File

@@ -12,10 +12,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: latest

View File

@@ -12,10 +12,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: latest
@@ -36,7 +36,7 @@ jobs:
shell: bash
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-dist
path: |

View File

@@ -7,7 +7,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
- uses: actions/stale@v9
with:
stale-issue-message: 'Message to comment on stale issues. If none provided, will not mark issues stale'
stale-pr-message: 'Message to comment on stale PRs. If none provided, will not mark PRs stale'

10
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,10 @@
{
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint",
"editor.formatOnType": false,
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"files.autoSave": "onFocusChange",
"prettier.printWidth": 100,
"vs-code-prettier-eslint.prettierLast": false
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

935
.yarn/releases/yarn-4.7.0.cjs vendored Executable file

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,3 @@
nodeLinker: node-modules
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
yarnPath: .yarn/releases/yarn-3.6.1.cjs
yarnPath: .yarn/releases/yarn-4.7.0.cjs

View File

@@ -1,5 +1,5 @@
<p align="center"><img src="https://github.com/agam778/MS-365-Electron/blob/main/assets/banner.png?raw=true" alt="Intro Image"></p>
<p align="center">Thanks a lot to <a href="https://t.me/NextWorksGFX">@NextWorksGFX</a> for this amazing banner!</p>
<p align="center"><img src="https://github.com/agam778/MS-365-Electron/blob/main/assets/banner.png?raw=true" alt="Credits: "></p>
<p align="center">Thanks to <a href="https://t.me/NextWorksGFX">@NextWorksGFX</a> for this amazing banner!</p>
<p align="center">Unofficial Microsoft 365 Web Desktop Wrapper made with Electron</p>
<p align="center">
@@ -18,9 +18,6 @@
<a href="https://github.com/agam778/MS-365-Electron/releases/">
<img align="center" src="https://img.shields.io/github/downloads/agam778/MS-365-Electron/total?label=Downloads&style=style=flat">
</a>
<a href="https://github.com/agam778/MS-365-Electron/releases/latest/">
<img align="center" src="https://img.shields.io/github/downloads/agam778/MS-365-Electron/latest/total?label=Downloads%40Latest">
</a>
<a href="https://github.com/agam778/MS-365-Electron/actions/workflows/build.yml">
<img align="center" src="https://github.com/agam778/MS-365-Electron/actions/workflows/build.yml/badge.svg">
</a>
@@ -42,43 +39,43 @@
- [💿 Installation on Linux](#-installation-on-linux)
- [Installation on Ubuntu/Debian based distributions](#installation-on-ubuntudebian-based-distributions)
- [Installation on Red Hat/Fedora based distributions](#installation-on-red-hatfedora-based-distributions)
- [Installation on Arch/Manjaro Linux based distributions](#installation-on-archmanjaro-linux-based-distributions)
- [Installation on Gentoo Linux](#installation-on-gentoo-linux)
- [Installation on Arch Linux based distributions](#installation-on-arch-linux-based-distributions)
- [Installation on Void Linux](#installation-on-void-linux)
- [Maintained by: @xHyroM](#maintained-by-xhyrom)
- [Installation on Gentoo Linux (Unmaintained)](#installation-on-gentoo-linux-unmaintained)
- [💻 Developing Locally](#-developing-locally)
- [📃 MIT License](#-mit-license)
- [*Disclaimer: Not affiliated with Microsoft. Office, the name, website, images/icons are the intellectual properties of Microsoft.*](#disclaimer-not-affiliated-with-microsoft-office-the-name-website-imagesicons-are-the-intellectual-properties-of-microsoft)
# Introduction
This project is basically a Desktop wrapper for the web version of [Microsoft 365](https://microsoft365.com), which is free but with some basic limits.
MS-365-Electron streamlines your workflow by offering a dedicated desktop interface for the free, web-based version of [Microsoft 365](https://microsoft365.com). Think of it as a convenient launchpad for web applications like Word, Excel, and PowerPoint, eliminating the need to navigate through browser tabs.
I initially made this project because I wanted to use Microsoft 365 on my Linux system with a native experience. Later, I decided to make it public so that others can enjoy this too!
Don't expect this to be a full-fledged Microsoft 365 Desktop Suite (like we have for Windows/macOS), it's just a wrapper of the web version of Microsoft 365.
This is not a full-fledged Microsoft 365 Suite, but just a web wrapper for Microsoft 365 Web, made with Electron.
Note - Windows Hello or Sign in with Security key is **not** supported and will show you an error. You will have to manually sign in with your E-Mail and Password.
***Do Expect bugs***
***Do expect bugs***
Supported Platforms
1. Windows x64 (EXE File)
2. macOS x64 (DMG File)
1. Windows - x64 (EXE File)
2. macOS - x64 and M-series Macs (DMG File)
3. Ubuntu/Debian based distributions (DEB File)
4. Red Hat Linux/Fedora based distributions (RPM File)
5. Arch/Manjaro Linux based distributions (Uploaded on AUR)
6. Gentoo Linux (Unofficial overlay)
7. All Distributions supporting AppImage (AppImage File); and
8. All Distributions supporting Snap (Uploaded on Snap Store)
5. Arch Linux based distributions (Uploaded on AUR)
6. Void Linux (Maintained by: [@xHyroM](https://github.com/xHyroM))
7. Gentoo Linux (Unofficial overlay) **[MAINTAINER NEEDED]**
8. All Distributions supporting AppImage (AppImage File); and
9. All Distributions supporting Snap (Uploaded on Snap Store)
# List of Features
- Discord RPC
- Dynamic Icons:
- For macOS: Change icon in dock according to the app you've opened [[Preview]](https://github-production-user-asset-6210df.s3.amazonaws.com/68941022/245203309-3d0dfc1b-02e9-43a8-85d7-9493a2b86b56.mp4)
- For Windows: Set overlay icon [[Preview]](https://github.com/agam778/MS-365-Electron/assets/68941022/791b661b-2b7d-43a6-96df-ee9c30c9b18a)
- For macOS: App's icon in dock changes according to the app you've opened [[Preview]](https://github-production-user-asset-6210df.s3.amazonaws.com/68941022/245203309-3d0dfc1b-02e9-43a8-85d7-9493a2b86b56.mp4)
- For Windows: Sets overlay icon [[Preview]](https://github.com/agam778/MS-365-Electron/assets/68941022/791b661b-2b7d-43a6-96df-ee9c30c9b18a)
- For Linux: Nothing, yet
- Block Ads within the app
- Block Ads and Trackers within the app, preventing ads in websites like Outlook
- Directly open apps from the menu
- Ability to use useragent strings of Windows, macOS or Linux
- Switch between normal and enterprise/education/developer account in the same app
@@ -153,9 +150,9 @@ For Installing in Red Hat/Fedora based distribution :-
2) Scroll down and click the `.rpm` file to download it.
3) Then run the rpm file and click Install to install the App. Launch it from the Applications Menu.
### Installation on Arch/Manjaro Linux based distributions
### Installation on Arch Linux based distributions
1. Install any AUR helper like [`yay`](https://github.com/Jguer/yay)
1. Install any AUR helper like [`yay`](https://github.com/Jguer/yay) or [paru](https://github.com/Morganamilo/paru)
2. There are 2 packages in the AUR
- `ms-365-electron-bin`: For installing pre-built releases
@@ -169,7 +166,32 @@ For Installing in Red Hat/Fedora based distribution :-
4. Wait for it to install and tada! The app is installed.
### Installation on Gentoo Linux
### Installation on Void Linux
#### Maintained by: [@xHyroM](https://github.com/xHyroM)
1. In order to install the package, create a new .conf file in the /etc/xbps.d directory containing the repository URL:
```bash
$ sudo nano /etc/xbps.d/99-xhyrom-dev.conf
repository=https://void-repo.xhyrom.dev
```
2. Synchronize the repository and import the RSA key:
```bash
sudo xbps-install -S
```
3. Install the package:
```bash
sudo xbps-install -S ms-365-electron
```
### Installation on Gentoo Linux (Unmaintained)
_Maintainer needed_
1. This is supported by an ebuild uploaded on my unofficial overlay. First, enable the overlay on your system:
@@ -194,16 +216,10 @@ yarn install
```
```bash
$ yarn run
yarn run v1.22.18
info Commands available from binary scripts: asar, dircompare, ejs, electron, electron-builder, electron-osx-flat, electron-osx-sign, extract-zip, install-app-deps, is-ci, jake, js-yaml, json5, mime, mkdirp, node-which, rc, rimraf, semver
info Project commands
- dist
electron-builder
- pack
electron-builder --dir
- start
electron .
question Which command would you like to run?:
➤ YN0000: start 'electron .'
➤ YN0000: pack 'electron-builder --dir'
➤ YN0000: dist 'electron-builder'
➤ YN0000: Done in 0s 2ms
```
To start the app, run `yarn start`<br>
@@ -211,4 +227,6 @@ To build the app, run `yarn dist`
# 📃 MIT License
#### *Disclaimer: Not affiliated with Microsoft. Office, the name, website, images/icons are the intellectual properties of Microsoft.*
View the [LICENSE](./LICENSE)
*Disclaimer: Not affiliated with Microsoft. Office, the name, website, images/icons are the intellectual properties of Microsoft.*

14
app/config/dimensions.js Normal file
View File

@@ -0,0 +1,14 @@
import { app, screen } from "electron";
let screenWidth, screenHeight;
app.on("ready", () => {
({ width: screenWidth, height: screenHeight } = screen.getPrimaryDisplay().workAreaSize);
});
export function getScreenWidth() {
return screenWidth;
}
export function getScreenHeight() {
return screenHeight;
}

1026
app/config/menu.js Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,12 +1,12 @@
const { Client } = require("@xhayper/discord-rpc");
const { dialog, BrowserWindow } = require("electron");
const { setValue } = require("./store");
import { dialog, BrowserWindow } from "electron";
import { Client } from "@xhayper/discord-rpc";
import { setValue } from "./store.js";
const client = new Client({
clientId: "942637872530460742",
});
async function rpcError(status) {
export async function rpcError(status) {
const rpcerror = dialog.showMessageBoxSync(BrowserWindow.getFocusedWindow(), {
type: "error",
title: "Discord RPC Error",
@@ -19,14 +19,14 @@ async function rpcError(status) {
}
}
async function clearActivity() {
export async function clearActivity() {
await client.user?.clearActivity().catch((err) => {
rpcError("clearing");
console.error(err);
});
}
async function setActivity(details) {
export async function setActivity(details) {
if (!client.user) {
await loginToRPC();
}
@@ -43,15 +43,9 @@ async function setActivity(details) {
});
}
async function loginToRPC() {
export async function loginToRPC() {
await client.login().catch((err) => {
rpcError("logging into");
console.error(err);
});
}
module.exports = {
clearActivity,
setActivity,
loginToRPC,
};

41
app/config/store.js Normal file
View File

@@ -0,0 +1,41 @@
import useragents from "../useragents.json" with { type: "json" };
import Store from "electron-store";
const store = new Store();
export function getValue(key) {
return store.get(key);
}
export function setValue(key, value) {
store.set(key, value);
}
export function getValueOrDefault(key, defaultValue) {
const value = store.get(key);
if (value === undefined) {
store.set(key, defaultValue);
return defaultValue;
}
return value;
}
getValueOrDefault("enterprise-or-normal", "?auth=1");
getValueOrDefault("websites-in-new-window", "true");
getValueOrDefault("autohide-menubar", "false");
getValueOrDefault("useragentstring", useragents.Windows);
getValueOrDefault("discordrpcstatus", "false");
getValueOrDefault("blockadsandtrackers", "false");
getValueOrDefault("dynamicicons", "true");
getValueOrDefault("autoupdater", "true");
getValueOrDefault("custompage", "home");
getValueOrDefault("windowWidth", 0.71);
getValueOrDefault("windowHeight", 0.74);
getValueOrDefault("customWindowSize", false);
getValueOrDefault("externalLinks", "true");
if (getValue("enterprise-or-normal") === "https://microsoft365.com/?auth=1") {
setValue("enterprise-or-normal", "?auth=1");
} else if (getValue("enterprise-or-normal") === "https://microsoft365.com/?auth=2") {
setValue("enterprise-or-normal", "?auth=2");
}

82
app/config/utils.js Normal file
View File

@@ -0,0 +1,82 @@
import { app, dialog, shell } from "electron";
import axios from "axios";
import { setValue } from "./store.js";
import updaterpkg from "electron-updater";
const { autoUpdater } = updaterpkg;
export async function checkForUpdates() {
try {
const res = await axios.get(
"https://api.github.com/repos/agam778/MS-365-Electron/releases/latest"
);
const data = res.data;
const currentVersion = "v" + app.getVersion();
const latestVersion = data.tag_name;
if (currentVersion !== latestVersion) {
if (process.platform === "win32" || process.platform === "darwin") {
autoUpdater.checkForUpdatesAndNotify().then((result) => {
if (result === null) {
dialog.showMessageBoxSync({
type: "info",
title: "No Update Available",
message: `Current version: ${currentVersion}\nLatest version: ${latestVersion}\n\nYou are already using the latest version.`,
buttons: ["OK"],
});
}
});
return;
} else {
const updatedialog = dialog.showMessageBoxSync({
type: "info",
title: "Update Available",
message: `Current version: ${currentVersion}\nLatest version: ${latestVersion}\n\nPlease update to the latest version.`,
buttons: ["Download", "Close"],
});
if (updatedialog === 0) {
shell.openExternal("https://github.com/agam778/MS-365-Electron/releases/latest");
}
}
} else {
dialog.showMessageBoxSync({
type: "info",
title: "No Update Available",
message: `Your App's version: ${currentVersion}\nLatest version: ${latestVersion}\n\nYou are already using the latest version.`,
buttons: ["OK"],
});
}
} catch (error) {
console.error("Error checking for updates:", error);
}
}
export async function openExternalLink(url) {
await shell.openExternal(url);
}
export async function openLogsFolder() {
if (process.platform === "win32") {
await shell.openPath(
"C:\\Users\\" + process.env.USERNAME + "\\AppData\\Roaming\\ms-365-electron\\logs\\"
);
} else if (process.platform === "darwin") {
await shell.openPath("/Users/" + process.env.USER + "/Library/Logs/ms-365-electron/");
} else if (process.platform === "linux") {
await shell.openPath("/home/" + process.env.USER + "/.config/ms-365-electron/logs/");
}
}
export function setUserAgent(useragent) {
setValue("useragentstring", useragent);
const updatedialog = dialog.showMessageBoxSync({
type: "info",
title: "User-Agent string changed",
message: `You have switched to the ${useragent} User-Agent string.\n\nPlease restart the app for the changes to take effect.`,
buttons: ["Later", "Restart"],
});
if (updatedialog === 1) {
app.relaunch();
app.exit();
}
}

125
app/domains.json Normal file
View File

@@ -0,0 +1,125 @@
{
"domains": [
"*.1drv.ms",
"*.microsoft365.com",
"*.office365.com",
"*.live.com",
"*.office.com",
"*.microsoftonline.com",
"*.onenote.com",
"*.onedrive.com",
"*.outlook.com",
"*.microsoft.com",
"*.cloud.microsoft",
"*.skype.com",
"*.clipchamp.com",
"*.sharepoint.com",
"*.yammer.com",
"*.outlook.cloud.microsoft",
"*.outlook.office.com",
"*.outlook.office365.com",
"*.protection.outlook.com",
"*.mail.protection.outlook.com",
"*.mx.microsoft",
"*.sharepointonline.com",
"*.storage.live.com",
"*.search.production.apac.trafficmanager.net",
"*.search.production.emea.trafficmanager.net",
"*.search.production.us.trafficmanager.net",
"*.wns.windows.com",
"*.admin.onedrive.com",
"*.officeclient.microsoft.com",
"*.g.live.com",
"*.oneclient.sfx.ms",
"*.spoprod-a.akamaihd.net",
"*.svc.ms",
"*.teams.microsoft.com",
"*.lync.com",
"*.keydelivery.mediaservices.windows.net",
"*.streaming.mediaservices.windows.net",
"*.mlccdn.blob.core.windows.net",
"*.aka.ms",
"*.users.storage.live.com",
"*.adl.windows.com",
"*.secure.skypeassets.com",
"*.mlccdnprod.azureedge.net",
"*.skype.com",
"*.compass-ssl.microsoft.com",
"*.officeapps.live.com",
"*.online.office.com",
"*.office.live.com",
"*.office.net",
"*.onenote.com",
"*.cdn.onenote.net",
"*.ajax.aspnetcdn.com",
"*.apis.live.net",
"*.www.onedrive.com",
"*.auth.microsoft.com",
"*.msftidentity.com",
"*.msidentity.com",
"*.account.activedirectory.windowsazure.com",
"*.accounts.accesscontrol.windows.net",
"*.adminwebservice.microsoftonline.com",
"*.api.passwordreset.microsoftonline.com",
"*.autologon.microsoftazuread-sso.com",
"*.becws.microsoftonline.com",
"*.ccs.login.microsoftonline.com",
"*.clientconfig.microsoftonline-p.net",
"*.companymanager.microsoftonline.com",
"*.device.login.microsoftonline.com",
"*.graph.microsoft.com",
"*.graph.windows.net",
"*.login-us.microsoftonline.com",
"*.login.microsoft.com",
"*.login.microsoftonline-p.com",
"*.login.microsoftonline.com",
"*.login.windows.net",
"*.logincert.microsoftonline.com",
"*.loginex.microsoftonline.com",
"*.nexus.microsoftonline-p.com",
"*.passwordreset.microsoftonline.com",
"*.provisioningapi.microsoftonline.com",
"*.hip.live.com",
"*.microsoftonline-p.com",
"*.msauth.net",
"*.msauthimages.net",
"*.msecnd.net",
"*.msftauth.net",
"*.msftauthimages.net",
"*.phonefactor.net",
"*.enterpriseregistration.windows.net",
"*.policykeyservice.dc.ad.msft.net",
"*.sharepointonline.com",
"*.staffhub.ms",
"*.staffhubweb.azureedge.net",
"*.sway.com",
"*.www.sway.com",
"*.eus-www.sway-cdn.com",
"*.eus-www.sway-extensions.com",
"*.wus-www.sway-cdn.com",
"*.wus-www.sway-extensions.com",
"*.microsoftusercontent.com",
"*.azure-apim.net",
"*.flow.microsoft.com",
"*.powerapps.com",
"*.powerautomate.com",
"*.activity.windows.com",
"*.cortana.ai",
"*.admin.microsoft.com",
"*.cdn.odc.officeapps.live.com",
"*.cdn.uci.officeapps.live.com",
"*.cloud.microsoft",
"*.static.microsoft",
"*.usercontent.microsoft",
"*.compliance.microsoft.com",
"*.protection.office.com",
"*.security.microsoft.com",
"*.defender.microsoft.com",
"*.blob.core.windows.net",
"*.firstpartyapps.oaspapps.com",
"*.prod.firstpartyapps.oaspapps.com.akadns.net",
"*.telemetryservice.firstpartyapps.oaspapps.com",
"*.wus-firstpartyapps.oaspapps.com"
],
"source": "https://learn.microsoft.com/en-us/microsoft-365/enterprise/urls-and-ip-address-ranges?view=o365-worldwide"
}

View File

@@ -1,53 +1,63 @@
const { app, Menu, BrowserWindow, dialog, nativeImage } = require("electron");
const { autoUpdater } = require("electron-updater");
const checkInternetConnected = require("check-internet-connected");
const ElectronDl = require("electron-dl");
const contextMenu = require("electron-context-menu");
const path = require("path");
const log = require("electron-log");
const { setActivity, loginToRPC, clearActivity } = require("./rpc");
const useragents = require("./useragents.json");
const { ElectronBlocker } = require("@cliqz/adblocker-electron");
const { getValue } = require("./store");
const { menulayout } = require("./menu");
import { app, Menu, BrowserWindow, dialog, nativeImage, shell } from "electron";
import { clearActivity, setActivity, loginToRPC } from "./config/rpc.js";
import { ElectronBlocker } from "@cliqz/adblocker-electron";
import { setValue, getValue } from "./config/store.js";
import { dirname, join } from "path";
import { fileURLToPath } from "url";
log.transports.file.level = "verbose";
console.log = log.log;
Object.assign(console, log.functions);
import { getScreenWidth, getScreenHeight } from "./config/dimensions.js";
import Windows from "./useragents.json" with { type: "json" };
import checkInternetConnected from "check-internet-connected";
import domains from "./domains.json" with { type: "json" };
import contextMenu from "electron-context-menu";
import updaterpkg from "electron-updater";
import ElectronDl from "electron-dl";
import menulayout from "./config/menu.js";
import logpkg from "electron-log";
const { transports, log: _log, functions } = logpkg;
const __filename = fileURLToPath(import.meta.url);
const windowHeight = getValue("windowHeight");
const windowWidth = getValue("windowWidth");
const __dirname = dirname(__filename);
const { autoUpdater } = updaterpkg;
transports.file.level = "verbose";
console.log = _log;
Object.assign(console, functions);
function createWindow() {
const enterpriseOrNormal = getValue("enterprise-or-normal");
const custompage = getValue("custompage");
const partition = enterpriseOrNormal === "?auth=1" ? "persist:personal" : "persist:work";
const win = new BrowserWindow({
width: 1181,
height: 670,
icon: path.join(__dirname, "/assets/icons/png/1024x1024.png"),
width: Math.round(getScreenWidth() * getValue("windowWidth")),
height: Math.round(getScreenHeight() * getValue("windowHeight")),
icon: join(__dirname, "/assets/icons/png/1024x1024.png"),
show: false,
webPreferences: {
nodeIntegration: true,
devTools: true,
partition: partition,
},
});
if (getValue("autohide-menubar") === "true") {
win.setAutoHideMenuBar(true);
} else {
win.setAutoHideMenuBar(false);
}
win.setAutoHideMenuBar(getValue("autohide-menubar") === "true");
const splash = new BrowserWindow({
width: 810,
height: 610,
width: Math.round(getScreenWidth() * 0.49),
height: Math.round(getScreenHeight() * 0.65),
transparent: true,
frame: false,
icon: path.join(__dirname, "/assets/icons/png/1024x1024.png"),
icon: join(__dirname, "/assets/icons/png/1024x1024.png"),
});
splash.loadURL(`https://agam778.github.io/MS-365-Electron/loading`);
win.loadURL(
`${getValue("enterprise-or-normal") || "https://microsoft365.com/?auth=1"}`,
{
userAgent: getValue("useragentstring") || useragents.Windows,
}
);
win.loadURL(`https://microsoft365.com/${custompage}/${enterpriseOrNormal}`, {
userAgent: getValue("useragentstring") || Windows,
});
win.webContents.on("did-finish-load", () => {
splash.destroy();
@@ -104,163 +114,159 @@ app.on("ready", () => {
app.on("web-contents-created", (event, contents) => {
contents.setWindowOpenHandler(({ url }) => {
if (getValue("websites-in-new-window") === "false") {
if (url.includes("page=Download")) {
return { action: "allow" };
} else {
BrowserWindow.getFocusedWindow()
.loadURL(url)
.catch((err) => {
// do not show error
});
if (getValue("discordrpcstatus") === "true") {
setActivity(
`On "${BrowserWindow.getFocusedWindow().webContents.getTitle()}"`
);
const urlObject = new URL(url);
const domain = urlObject.hostname;
const protocol = urlObject.protocol;
if (getValue("externalLinks") === "true") {
if (protocol === "http:" || protocol === "https:") {
const isAllowedDomain = domains.domains.some((allowedDomain) =>
new RegExp(`^${allowedDomain.replace("*.", ".*")}$`).test(domain)
);
if (isAllowedDomain) {
if (getValue("websites-in-new-window") === "false") {
if (url.includes("page=Download")) return { action: "allow" };
BrowserWindow.getFocusedWindow().loadURL(url).catch();
if (getValue("discordrpcstatus") === "true") {
setActivity(`On "${BrowserWindow.getFocusedWindow().webContents.getTitle()}"`);
}
return { action: "deny" };
} else {
if (getValue("discordrpcstatus") === "true") {
setActivity(`On "${BrowserWindow.getFocusedWindow().webContents.getTitle()}"`);
}
return {
action: "allow",
overrideBrowserWindowOptions: {
width: Math.round(getScreenWidth() * (windowWidth - 0.07)),
height: Math.round(getScreenHeight() * (windowHeight - 0.07)),
},
};
}
} else {
shell.openExternal(url);
return { action: "deny" };
}
} else {
return { action: "deny" };
}
} else {
if (getValue("discordrpcstatus") === "true") {
setActivity(
`On "${BrowserWindow.getFocusedWindow().webContents.getTitle()}"`
);
if (getValue("websites-in-new-window") === "false") {
if (url.includes("page=Download")) return { action: "allow" };
BrowserWindow.getFocusedWindow().loadURL(url).catch();
if (getValue("discordrpcstatus") === "true") {
setActivity(`On "${BrowserWindow.getFocusedWindow().webContents.getTitle()}"`);
}
return { action: "deny" };
} else {
if (getValue("discordrpcstatus") === "true") {
setActivity(`On "${BrowserWindow.getFocusedWindow().webContents.getTitle()}"`);
}
return {
action: "allow",
overrideBrowserWindowOptions: {
width: Math.round(getScreenWidth() * (windowWidth - 0.07)),
height: Math.round(getScreenHeight() * (windowHeight - 0.07)),
},
};
}
return { action: "allow" };
}
});
contents.on("did-finish-load", () => {
if (getValue("dynamicicons") === "true") {
if (BrowserWindow.getFocusedWindow()) {
if (
BrowserWindow.getFocusedWindow()
.webContents.getURL()
.includes("&ithint=file%2cpptx") ||
BrowserWindow.getFocusedWindow()
.webContents.getTitle()
.includes(".pptx")
BrowserWindow.getFocusedWindow().webContents.getURL().includes("&ithint=file%2cpptx") ||
BrowserWindow.getFocusedWindow().webContents.getTitle().includes(".pptx")
) {
if (process.platform === "darwin") {
app.dock.setIcon(
path.join(__dirname, "../assets/icons/apps/powerpoint-mac.png")
);
app.dock.setIcon(join(__dirname, "../assets/icons/apps/powerpoint-mac.png"));
} else if (process.platform === "win32") {
let nimage = nativeImage.createFromPath(
path.join(__dirname, "../assets/icons/apps/powerpoint.png")
join(__dirname, "../assets/icons/apps/powerpoint.png")
);
BrowserWindow.getAllWindows().forEach((window) => {
window.setOverlayIcon(nimage, "PowerPoint");
});
}
} else if (
BrowserWindow.getFocusedWindow()
.webContents.getURL()
.includes("&ithint=file%2cdocx") ||
BrowserWindow.getFocusedWindow()
.webContents.getTitle()
.includes(".docx")
BrowserWindow.getFocusedWindow().webContents.getURL().includes("&ithint=file%2cdocx") ||
BrowserWindow.getFocusedWindow().webContents.getTitle().includes(".docx")
) {
if (process.platform === "darwin") {
app.dock.setIcon(
path.join(__dirname, "../assets/icons/apps/word-mac.png")
);
app.dock.setIcon(join(__dirname, "../assets/icons/apps/word-mac.png"));
} else if (process.platform === "win32") {
let nimage = nativeImage.createFromPath(
path.join(__dirname, "../assets/icons/apps/word.png")
join(__dirname, "../assets/icons/apps/word.png")
);
BrowserWindow.getAllWindows().forEach((window) => {
window.setOverlayIcon(nimage, "Word");
});
}
} else if (
BrowserWindow.getFocusedWindow()
.webContents.getURL()
.includes("&ithint=file%2cxlsx") ||
BrowserWindow.getFocusedWindow()
.webContents.getTitle()
.includes(".xlsx")
BrowserWindow.getFocusedWindow().webContents.getURL().includes("&ithint=file%2cxlsx") ||
BrowserWindow.getFocusedWindow().webContents.getTitle().includes(".xlsx")
) {
if (process.platform === "darwin") {
app.dock.setIcon(
path.join(__dirname, "../assets/icons/apps/excel-mac.png")
);
app.dock.setIcon(join(__dirname, "../assets/icons/apps/excel-mac.png"));
} else if (process.platform === "win32") {
let nimage = nativeImage.createFromPath(
path.join(__dirname, "../assets/icons/apps/excel.png")
join(__dirname, "../assets/icons/apps/excel.png")
);
BrowserWindow.getAllWindows().forEach((window) => {
window.setOverlayIcon(nimage, "Excel");
});
}
} else if (
BrowserWindow.getFocusedWindow()
.webContents.getURL()
.includes("outlook.live.com") ||
BrowserWindow.getFocusedWindow()
.webContents.getURL()
.includes("outlook.office.com")
BrowserWindow.getFocusedWindow().webContents.getURL().includes("outlook.live.com") ||
BrowserWindow.getFocusedWindow().webContents.getURL().includes("outlook.office.com")
) {
if (process.platform === "darwin") {
app.dock.setIcon(
path.join(__dirname, "../assets/icons/apps/outlook-mac.png")
);
app.dock.setIcon(join(__dirname, "../assets/icons/apps/outlook-mac.png"));
} else if (process.platform === "win32") {
let nimage = nativeImage.createFromPath(
path.join(__dirname, "../assets/icons/apps/outlook.png")
join(__dirname, "../assets/icons/apps/outlook.png")
);
BrowserWindow.getAllWindows().forEach((window) => {
window.setOverlayIcon(nimage, "Outlook");
});
}
} else if (
BrowserWindow.getFocusedWindow()
.webContents.getURL()
.includes("onedrive.live.com") ||
BrowserWindow.getFocusedWindow()
.webContents.getURL()
.includes("onedrive.aspx")
BrowserWindow.getFocusedWindow().webContents.getURL().includes("onedrive.live.com") ||
BrowserWindow.getFocusedWindow().webContents.getURL().includes("onedrive.aspx")
) {
if (process.platform === "darwin") {
app.dock.setIcon(
path.join(__dirname, "../assets/icons/apps/onedrive-mac.png")
);
app.dock.setIcon(join(__dirname, "../assets/icons/apps/onedrive-mac.png"));
} else if (process.platform === "win32") {
let nimage = nativeImage.createFromPath(
path.join(__dirname, "../assets/icons/apps/onedrive.png")
join(__dirname, "../assets/icons/apps/onedrive.png")
);
BrowserWindow.getAllWindows().forEach((window) => {
window.setOverlayIcon(nimage, "OneDrive");
});
}
} else if (
BrowserWindow.getFocusedWindow()
.webContents.getURL()
.includes("teams.live.com")
BrowserWindow.getFocusedWindow().webContents.getURL().includes("teams.live.com")
) {
if (process.platform === "darwin") {
app.dock.setIcon(
path.join(__dirname, "../assets/icons/apps/teams-mac.png")
);
app.dock.setIcon(join(__dirname, "../assets/icons/apps/teams-mac.png"));
} else if (process.platform === "win32") {
let nimage = nativeImage.createFromPath(
path.join(__dirname, "../assets/icons/apps/teams.png")
join(__dirname, "../assets/icons/apps/teams.png")
);
BrowserWindow.getAllWindows().forEach((window) => {
window.setOverlayIcon(nimage, "Teams");
});
}
} else if (
BrowserWindow.getFocusedWindow()
.webContents.getURL()
.includes("&ithint=onenote")
BrowserWindow.getFocusedWindow().webContents.getURL().includes("&ithint=onenote")
) {
if (process.platform === "darwin") {
app.dock.setIcon(
path.join(__dirname, "../assets/icons/apps/onenote-mac.png")
);
app.dock.setIcon(join(__dirname, "../assets/icons/apps/onenote-mac.png"));
} else if (process.platform === "win32") {
let nimage = nativeImage.createFromPath(
path.join(__dirname, "../assets/icons/apps/onenote.png")
join(__dirname, "../assets/icons/apps/onenote.png")
);
BrowserWindow.getAllWindows().forEach((window) => {
window.setOverlayIcon(nimage, "OneNote");
@@ -277,10 +283,69 @@ app.on("web-contents-created", (event, contents) => {
}
}
}
BrowserWindow.getAllWindows().forEach((window) => {
if (window.webContents.getURL().includes("outlook.live.com")) {
window.webContents
.executeJavaScript(
`
const observer = new MutationObserver((mutationsList) => {
let adElementFound = false;
for (const mutation of mutationsList) {
if (mutation.type === 'childList') {
const adElement = document.querySelector('div.GssDD');
if (adElement) {
adElement.remove();
adElementFound = true;
}
}
}
if (adElementFound) {
observer.disconnect();
}
});
observer.observe(document.body, { childList: true, subtree: true });
const adElement = document.querySelector('div.GssDD');
if (adElement) {
adElement.remove();
observer.disconnect();
}
`
)
.catch();
}
});
contents.insertCSS(
`
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: transparent;
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
}
`
);
});
});
app.on("browser-window-created", (event, window) => {
if (getValue("autohide-menubar") === "true") {
window.setAutoHideMenuBar(true);
} else {
window.setAutoHideMenuBar(false);
}
window.webContents.on("did-finish-load", () => {
if (getValue("discordrpcstatus") === "true") {
setActivity(`On "${window.webContents.getTitle()}"`);

File diff suppressed because it is too large Load Diff

View File

@@ -1,21 +0,0 @@
const Store = require("electron-store");
const store = new Store();
function getValue(key) {
return store.get(key);
}
function setValue(key, value) {
store.set(key, value);
}
function getValueOrDefault(key, defaultValue) {
const value = store.get(key);
if (value === undefined) {
store.set(key, defaultValue);
return defaultValue;
}
return value;
}
module.exports = { getValue, setValue, getValueOrDefault };

View File

@@ -1,5 +1,5 @@
{
"Windows": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36",
"macOS": "Mozilla/5.0 (Macintosh; Intel Mac OS X 13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36",
"Linux": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"
"Windows": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36",
"macOS": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36",
"Linux": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
}

View File

@@ -5,6 +5,12 @@ body {
background-size: auto;
background-repeat: no-repeat;
background-attachment: fixed;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
text-align: center;
overflow: hidden;
}
@font-face {
@@ -19,16 +25,55 @@ body {
--font-size-sm: 14px;
--color-aliceblue-100: #f3f8ff;
--br-5xs: 8px;
--color-download: #00a7ff;
--color-github: #333;
}
.download-now {
position: relative;
font-size: var(--font-size-sm);
line-height: 19px;
font-weight: 600;
.container {
display: flex;
align-items: center;
justify-content: center;
flex-direction: row;
width: 100%;
max-width: 1200px;
padding: 20px;
font-family: var(--font-poppins);
color: var(--color-aliceblue-100);
text-align: center;
}
.ms-365-electron {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
width: 50%;
text-align: left;
}
.heading {
font-size: 85px;
line-height: 90px;
color: #292e37;
margin-bottom: 10px;
}
.byagam778 {
font-size: 38px;
line-height: 50px;
font-family: 'SF Pro Text',-apple-system,BlinkMacSystemFont,var(--font-san-francisco);
color: #00acff;
cursor: pointer;
margin-bottom: 10px;
}
.description {
font-size: 20px;
margin-bottom: 20px;
}
.buttons {
display: flex;
gap: 10px;
margin-bottom: 20px;
}
.download,
@@ -37,155 +82,100 @@ body {
border: 0;
padding: 0;
background-color: transparent;
position: absolute;
margin-top: 597px;
border-radius: var(--br-5xs);
width: 190px;
height: 62px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
transition: all 0.5ms ease;
}
.download {
margin-left: 172px;
background: linear-gradient(90.05deg, #45bfff 26.58%, #00a7ff);
background: linear-gradient(90.05deg, #45bfff 26.58%, var(--color-download));
box-shadow: 0 24px 30px -16px rgba(45, 183, 255, 0.25);
}
.github {
margin-left: 392px;
background: linear-gradient(90.05deg, #424242 26.58%, #333);
background: linear-gradient(90.05deg, #424242 26.58%, var(--color-github));
box-shadow: 0 24px 30px -16px rgba(66, 66, 66, 0.25);
}
.description,
.heading {
position: absolute;
margin-top: 505px;
margin-left: 172px;
line-height: 26px;
display: inline-block;
width: 388px;
.download:hover {
background: transparent;
border: 3px solid var(--color-download);
color: black;
}
.heading {
margin-top: 285px;
margin-left: 166px;
font-size: 85px;
line-height: 90px;
color: #292e37;
width: 461px;
.github:hover {
background: transparent;
border: 3px solid var(--color-github);
color: black;
}
.byagam778 {
position: absolute;
margin-top: 219px;
margin-left: 170px;
font-size: 38px;
line-height: 50px;
font-family: 'SF Pro Text',-apple-system,BlinkMacSystemFont,var(--font-san-francisco);
color: #00acff;
cursor: pointer;
.download-now {
font-size: var(--font-size-sm);
line-height: 19px;
font-weight: 600;
color: var(--color-aliceblue-100);
transition: color 0.5s ease;
}
.content,
.preview-icon {
position: absolute;
margin-top: -93px;
margin-left: 0;
width: 890px;
height: 834px;
}
.content {
transform: translate(-50%, -50%);
margin-left: 30%;
margin-top: 21.5%;
.download:hover .download-now,
.github:hover .download-now {
color: black;
}
.preview-icon {
position: absolute;
margin-top: 23%;
margin-left: 68%;
transform: translate(-50%, -50%);
width: 708px;
height: 447px;
width: 50%;
max-width: 708px;
height: auto;
object-fit: cover;
}
.ms-365-electron {
width: 100%;
height: 696px;
flex-direction: column;
align-items: center;
justify-content: flex-start;
text-align: left;
font-size: 18px;
color: #525d73;
font-family: var(--font-poppins);
margin-left: 20px;
}
@media (max-width: 768px) {
.preview-icon {
width: 78%;
height: auto;
margin-top: 45%;
margin-left: 50%;
transform: translate(-50%, -50%);
.container {
flex-direction: column;
}
.content {
margin-top: 77%;
.preview-icon {
width: 100%;
margin: 0;
margin-bottom: 20px;
}
.ms-365-electron {
width: 100%;
text-align: center;
align-items: center;
}
.heading {
text-align: center;
font-size: 30px;
height: auto;
margin-top: 56%;
margin-left: 59%;
transform: translate(-50%, -50%);
line-height: 36px;
}
.byagam778 {
text-align: center;
width: 100%;
font-size: 26px;
height: auto;
margin-top: 50%;
margin-left: 59%;
transform: translate(-50%, -50%);
}
.description {
text-align: center;
width: 40%;
font-size: 20px;
height: auto;
margin-top: 65%;
margin-left: 59%;
transform: translate(-50%, -50%);
font-size: 18px;
}
.download,
.github {
text-align: center;
font-size: 20px;
margin-top: 85%;
margin-left: 59%;
transform: translate(-50%, -50%);
}
.download {
text-align: center;
font-size: 20px;
margin-top: 77%;
margin-left: 59%;
transform: translate(-50%, -50%);
width: 160px;
height: 54px;
font-size: 16px;
}
.download-now {
font-size: 14px;
font-size: 12px;
}
}
.buttons {
flex-direction: column;
}
}

Some files were not shown because too many files have changed in this diff Show More