Compare commits

..

138 Commits

Author SHA1 Message Date
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
Agampreet Singh
b939c72758 chore(deps): update dependencies 2023-07-27 22:55:02 +05:30
Agampreet Singh
169c7861f2 Updating version to 1.0.0 2023-07-27 22:52:19 +05:30
Agampreet Singh
b74e6e8322 Update user-agent strings 2023-07-27 22:51:44 +05:30
Agampreet Singh
8132571b97 Delete stale.yml 2023-07-27 22:22:19 +05:30
Agampreet Singh
a6cdf68edc Create stale.yml 2023-07-27 22:21:47 +05:30
renovate[bot]
d7572ecd52 Update dependency electron to v25.3.2 (#137)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 22:13:32 +05:30
Agampreet Singh
e9eaaacef7 Support Dynamic icons for enterprise applications 2023-07-26 22:16:34 +05:30
Agampreet Singh
9e9fe297d5 Do not keep splash window always on top 2023-07-26 20:59:20 +05:30
Agampreet Singh
ac493f11de Do not show an error if the URL is unable to load 2023-07-26 17:56:44 +05:30
Agampreet Singh
be4f74f829 New app icons for macOS! 2023-07-26 17:51:35 +05:30
Agampreet Singh
f98d304b40 Do not set overlay icons when downloading 2023-07-26 12:33:00 +05:30
renovate[bot]
1b51762b88 Update dependency electron-log to v5.0.0-beta.25 (#136)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-26 12:29:26 +05:30
renovate[bot]
cff5530d09 Update dependency electron-builder to v24.6.3 (#135)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-26 12:29:16 +05:30
renovate[bot]
5384db16ce Update dependency electron to v25.3.1 (#134)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-26 12:29:07 +05:30
renovate[bot]
873ea33a90 Update dependency @xhayper/discord-rpc to v1.0.21 (#133)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-26 12:28:55 +05:30
renovate[bot]
690c55bb2e Update dependency eslint to v8.45.0 (#132)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-15 00:23:30 +05:30
renovate[bot]
02dac92539 Update dependency electron to v25.3.0 (#131)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 21:07:07 +05:30
renovate[bot]
efbeb80c19 Update Yarn to v3.6.1 (#125)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 17:51:42 +05:30
renovate[bot]
eba11b80cf Update dependency cross-fetch to v4 (#129)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 17:51:17 +05:30
renovate[bot]
fa884bbfc8 Update dependency cross-fetch to v3.1.7 (#127)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-02 10:47:36 +05:30
renovate[bot]
1ac78ac2a3 Update dependency eslint to v8.44.0 (#126)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-01 20:26:08 +05:30
renovate[bot]
277726c1d7 Update dependency electron to v25.2.0 (#124)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 06:40:44 +05:30
renovate[bot]
915f0c302f Update dependency @xhayper/discord-rpc to v1.0.18 (#121)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-20 04:28:21 +05:30
renovate[bot]
689b4648c2 Update dependency eslint to v8.43.0 (#119)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-18 05:33:40 +05:30
renovate[bot]
9890e3ae76 Update dependency electron-updater to v6 (#120)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-18 05:33:21 +05:30
renovate[bot]
7471526abd Update dependency electron-builder to v24 (#118)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-16 13:50:02 +05:30
renovate[bot]
3481ab1e99 Update dependency electron to v25.1.1 (#117)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-16 13:48:42 +05:30
renovate[bot]
ba1f3db123 Update dependency node-gyp to v9.4.0 (#116)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-16 13:48:23 +05:30
Agampreet Singh
2e14e5e0c2 Update table of contents in README 2023-06-13 14:24:47 +05:30
Agampreet Singh
211653d580 Add information about error while launching app on macOS 2023-06-13 14:24:12 +05:30
Agampreet Singh
031f2bf734 Revert "Update LICENSE"
This reverts commit e003c64444.
2023-06-13 01:03:11 +05:30
Agampreet Singh
f82837ac4f Update README.md 2023-06-12 23:54:50 +05:30
Agampreet Singh
6c1edd0a98 Do not include assets/icons in extraFiles 2023-06-12 19:41:25 +05:30
Agampreet Singh
72516bd2fd Add a "Copy URL" button in menu 2023-06-12 15:15:33 +05:30
Agampreet Singh
38a4db3538 Rearrange menu 2023-06-12 15:01:02 +05:30
Agampreet Singh
aab2397043 Use a better way to check menu item 2023-06-12 13:27:49 +05:30
Agampreet Singh
034e2f36c3 Shorten menu label/description 2023-06-12 13:27:41 +05:30
Agampreet Singh
b44ee69787 Make the menu feel more native 2023-06-12 12:42:59 +05:30
Agampreet Singh
0ba2721ea3 Add option to enable/disable auto updater 2023-06-12 00:49:47 +05:30
Agampreet Singh
d2ed102ccc Rearrange MS-365-Electron menu 2023-06-12 00:35:08 +05:30
Agampreet Singh
dd8110479b Add accelerator for Back, Forward and Reload buttons 2023-06-11 23:24:54 +05:30
Agampreet Singh
848e93ae09 Let user enable/disable "Dynamic Icons"
- Auto Icon Changer will be called "Dynamic Icons" from now on
2023-06-11 23:20:17 +05:30
Agampreet Singh
1625a46529 Only keep "Block Ads and Trackers" option 2023-06-11 22:50:00 +05:30
Agampreet Singh
1526a81d1c Update user-agent strings 2023-06-11 21:54:56 +05:30
Agampreet Singh
5b4db16b64 Do not log if internet is connected 2023-06-11 21:49:09 +05:30
Agampreet Singh
0e02c64999 Cleanup the main file 2023-06-11 21:48:03 +05:30
Agampreet Singh
9d2b63fedb Move everything related to store in store.js 2023-06-11 21:15:36 +05:30
Agampreet Singh
15d339d7f9 Add OneDrive option under Apps menu 2023-06-11 21:00:59 +05:30
Agampreet Singh
ec12b02d7e Add "Apps" menu 2023-06-11 21:00:49 +05:30
Agampreet Singh
e003c64444 Update LICENSE 2023-06-11 18:17:38 +05:30
Agampreet Singh
e680f8eb37 Welcome back about-window! 2023-06-11 18:16:30 +05:30
Agampreet Singh
1e1828b3f2 Rename menu label 2023-06-11 17:49:27 +05:30
Agampreet Singh
a9d63d7325 Use rpcError function for all RPC related errors
- Also add "Disable Discord RPC" button to the error message
2023-06-11 17:48:30 +05:30
Agampreet Singh
95e14db4f8 Only change icons if some window is focused
- This commit fixes the error shown if no window is focused
2023-06-11 17:39:53 +05:30
Agampreet Singh
6a294dadd0 Use URL to check which website is opened 2023-06-11 17:39:02 +05:30
Agampreet Singh
f42c6c80b2 Support automatic icon changer for Windows 2023-06-11 00:08:59 +05:30
Agampreet Singh
72ddfe7b62 Rename icon file names 2023-06-10 14:55:43 +05:30
Agampreet Singh
5a70499ad0 Update Discord RPC whenever a new window is created 2023-06-10 11:55:22 +05:30
Agampreet Singh
2a0b175c78 Introducing ads/tracking blocker! 2023-06-10 01:24:08 +05:30
renovate[bot]
5f69e53123 Update dependency electron to v25 (#115)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 22:44:50 +05:30
renovate[bot]
1ef0457246 Update actions/upload-artifact action to v3 (#114)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 22:44:42 +05:30
renovate[bot]
38f04012b5 Update actions/checkout action to v3 (#112)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 22:44:30 +05:30
renovate[bot]
b708b9e0e2 Update Yarn to v3.6.0 (#111)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 22:44:17 +05:30
renovate[bot]
5c1421f3bb Add renovate.json (#110)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 22:42:15 +05:30
Agampreet Singh
2997e82cad Change icons according to the website opened
- macOS Only for now
2023-06-09 22:37:14 +05:30
Agampreet Singh
924183dc84 Update artifact's file's path to be uploaded 2023-06-09 22:37:14 +05:30
Agampreet Singh
71557c205c Add ci workflow to build from source 2023-06-09 22:31:16 +05:30
Agampreet Singh
401ba1c879 Use autoUpdater for checking for updates if on macOS or Windows 2023-06-09 22:09:31 +05:30
Agampreet Singh
e788a933d5 Make the Application menu more native for macOS 2023-06-09 22:08:30 +05:30
Agampreet Singh
803c9bde90 Update dependencies 2023-06-09 18:09:31 +05:30
Agampreet Singh
98f0a57307 Only include the icons folder while building 2023-06-09 18:08:58 +05:30
Agampreet Singh
cf8ee83edc Welcome back, Discord RPC
- Use new image for the RPC
- Switch to an updated library
2023-06-09 17:04:37 +05:30
Agampreet Singh
406b7041f2 Lower the website's preview image 2023-06-08 17:00:57 +05:30
Agampreet Singh
8b3103c318 Switch to San Franciso font in the website 2023-06-08 16:43:52 +05:30
Agampreet Singh
b0746d48ec Upload new website 2023-06-08 16:26:39 +05:30
Agampreet Singh
ac4d21cdf9 Update the website's code
- Rewrote the description
- Updated branding, including name, logo, etc
- Use new screenshot and device mockup
- Use new background image
2023-06-06 01:01:45 +05:30
Agampreet Singh
2f82a165f8 Remove window role and only show menu bar hide option if OS is windows or linux 2023-06-05 20:34:56 +05:30
Agampreet Singh
122c78cb92 Lord knows what I did
- Separate code into different files
- Drop about-window
- Drop Discord RPC
- Cleanup
- Maybe more?
2023-06-05 20:12:06 +05:30
Agampreet Singh
bec002d50a Drop build script 2023-06-05 16:40:14 +05:30
Agampreet Singh
c417702de6 Remove eslint and prettier related files 2023-06-05 16:39:08 +05:30
Agampreet Singh
cecd797ee2 Move screenshots to assets folder 2023-06-05 16:38:06 +05:30
Agampreet Singh
9da7d35d0e Move banner to assets folder 2023-06-05 16:36:07 +05:30
Agampreet Singh
7826a40187 Add smaller icon for "About MS-365-Electron" window 2023-03-28 19:12:48 +05:30
Agampreet Singh
5ceccb3510 Edit menulayout 2023-03-27 01:00:01 +05:30
Agampreet Singh
97ac91b64a Ignore C/C++ build files from packaging in macOS builds 2023-03-27 01:00:01 +05:30
Agampreet Singh
10da125fed Update version to 0.9.0 2023-03-27 01:00:01 +05:30
Agampreet Singh
b3d857f095 Let the download url be opened in a new window
When we download a file from, for example Word, it redirects to a new tab. When a user has "Open Websites in the Same Window" option selected, they will see a blank page in the window after they download something. This commit lets these types of download urls to be opened in new tabs, even if the user has selected to open all the urls in same window.
2023-03-25 18:23:22 +05:30
Agampreet Singh
3deb15080f Remove ESLint workflow 2023-03-25 18:09:22 +05:30
Agampreet Singh
8a2e48c3c0 Update useragent strings 2023-03-25 18:07:40 +05:30
Agampreet Singh
8b72100ae4 Rename UserAgent switcher labels 2023-03-25 18:04:17 +05:30
Agampreet Singh
fe1e564dff Update dependencies 2023-03-24 00:29:55 +05:30
Agampreet Singh
f4b9f6d421 Add new icon for macOS builds 2023-03-24 00:29:05 +05:30
Agampreet Singh
4c2effbbd4 Add FUNDING.yml 2023-03-13 12:41:33 +05:30
295 changed files with 4949 additions and 21284 deletions

View File

@@ -1,5 +0,0 @@
yarn.lock
node_modules/
docs/
.github/
README.md

View File

@@ -1,15 +0,0 @@
module.exports = {
"env": {
"commonjs": true,
"es2021": true,
"node": true
},
"extends": "eslint:recommended",
"overrides": [
],
"parserOptions": {
"ecmaVersion": "latest"
},
"rules": {
}
}

2
.github/FUNDING.yml vendored Normal file
View File

@@ -0,0 +1,2 @@
github: agam778
ko_fi: agam778

17
.github/stale.yml vendored
View File

@@ -1,17 +0,0 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 30
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false

View File

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

49
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,49 @@
name: CI
on: workflow_dispatch
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v4
with:
node-version: latest
- name: Build with Electron Builder
run: |
export GH_TOKEN=${{ secrets.GITHUB_TOKEN }}
yarn
if [ "$RUNNER_OS" == "Linux" ]; then
yarn dist --publish never
elif [ "$RUNNER_OS" == "Windows" ]; then
yarn dist --publish never
elif [ "$RUNNER_OS" == "macOS" ]; then
yarn dist -m --x64 --arm64 --publish never
else
echo "$RUNNER_OS not supported"
exit 1
fi
shell: bash
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-dist
path: |
release/*.exe
release/*.dmg
release/*.deb
release/*.snap
release/*.tar.gz
release/*.AppImage
release/*.rpm

View File

@@ -1,50 +0,0 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# ESLint is a tool for identifying and reporting on patterns
# found in ECMAScript/JavaScript code.
# More details at https://github.com/eslint/eslint
# and https://eslint.org
name: ESLint
on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '16 11 * * 0'
jobs:
eslint:
name: Run eslint scanning
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install ESLint
run: |
npm install eslint@8.10.0
npm install @microsoft/eslint-formatter-sarif@2.1.7
- name: Run ESLint
run: npx eslint .
--config .eslintrc.js
--ext .js,.jsx,.ts,.tsx
--format @microsoft/eslint-formatter-sarif
--output-file eslint-results.sarif
continue-on-error: true
- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: eslint-results.sarif
wait-for-processing: true

13
.github/workflows/stale.yml vendored Normal file
View File

@@ -0,0 +1,13 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- 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'

View File

@@ -1,3 +0,0 @@
yarn.lock
node_modules/
README.md

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.

Binary file not shown.

Binary file not shown.

Binary file not shown.

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