Skip to content

Commit

Permalink
feat: push latest shit
Browse files Browse the repository at this point in the history
  • Loading branch information
d0kur0 committed Sep 22, 2023
1 parent 469aade commit 3969aff
Show file tree
Hide file tree
Showing 61 changed files with 7,489 additions and 9,572 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[*]
indent_size = 2
indent_style = tab
38 changes: 0 additions & 38 deletions .electron-builder.config.js

This file was deleted.

33 changes: 20 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,28 @@ logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock
.DS_Store

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

Expand All @@ -39,6 +39,9 @@ jspm_packages/
# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

Expand Down Expand Up @@ -79,10 +82,14 @@ typings/
# DynamoDB Local files
.dynamodb/

# ----
dist
**/.tmp
release
.DS_Store
dist-ssr
*.local
# Webpack
.webpack/

# Vite
.vite/

# Electron-Forge
out/

# Solidjs out
dist/
5 changes: 5 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/jsLibraryMappings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/prettier.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/webm-desktop.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"useTabs": true,
"printWidth": 110,
"tabWidth": 2,
"semi": true,
"singleQuote": false,
"bracketSpacing": true,
"bracketSameLine": true,
"arrowParens": "avoid",
"importOrder": [],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true
}
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

147 changes: 0 additions & 147 deletions README.md

This file was deleted.

Binary file removed build/icon.icns
Binary file not shown.
Binary file removed build/icon.ico
Binary file not shown.
Binary file removed build/installerIcon.ico
Binary file not shown.
Binary file removed build/uninstallerIcon.ico
Binary file not shown.
18 changes: 18 additions & 0 deletions electron/events/window.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
const { BrowserWindow, ipcMain } = require("electron");

function getMainWindow() {
return BrowserWindow.getAllWindows()?.[0];
}

ipcMain.on("window/minimize", () => {
getMainWindow().minimize();
});

ipcMain.on("window/toggleFullscreen", () => {
const mainWindow = getMainWindow();
mainWindow.setFullScreen(!mainWindow.isFullScreen());
});

ipcMain.on("window/close", () => {
getMainWindow().close();
});
Loading

0 comments on commit 3969aff

Please sign in to comment.