Skip to content

Commit

Permalink
add eslint and fix icon path
Browse files Browse the repository at this point in the history
  • Loading branch information
andirsun committed Jan 15, 2024
1 parent 6d15d4d commit cc3d7d0
Show file tree
Hide file tree
Showing 9 changed files with 626 additions and 19 deletions.
50 changes: 50 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
module.exports = {
'env': {
'browser': true,
'es2021': true,
'node': true
},
'extends': [
'eslint:recommended',
'plugin:@typescript-eslint/recommended'
],
'overrides': [
{
'env': {
'node': true
},
'files': [
'.eslintrc.{js,cjs}'
],
'parserOptions': {
'sourceType': 'script'
}
}
],
'parser': '@typescript-eslint/parser',
'parserOptions': {
'ecmaVersion': 'latest',
'sourceType': 'module'
},
'plugins': [
'@typescript-eslint'
],
'rules': {
'indent': [
'error',
2
],
'linebreak-style': [
'error',
'unix'
],
'quotes': [
'error',
'single'
],
'semi': [
'error',
'never'
]
}
}
File renamed without changes.
File renamed without changes.
Binary file added build/icons/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 5 additions & 7 deletions electron-builder.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
appId: com.andersonlaverde.slackarm
productName: SlackArm
copyright: Copyright © 2023 Anderson Laverde
appId: com.andersonlaverde.slacky
productName: Slacky
copyright: Copyright © 2024 Anderson Laverde
## Pack the app in the read-only Electron format https://github.com/electron/asar
asar: true
# artifactName: ${productName}.${ext}
directories:
output: dist/packages
buildResources: resources
files:
- package.json
- dist/**/*
- dist/app/**/*
- node_modules
protocols:
- name: electron-deep-linking
Expand All @@ -18,8 +17,7 @@ protocols:
linux:
category: Network
synopsis: SlackArm
icon: resources/icons/icon.png
target:
target:
- target: rpm
arch:
- arm64
Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "slack-arm64",
"name": "slacky",
"version": "0.0.1",
"description": "Slack on electron for Linux arm64",
"description": "Slack wrapper for Linux arm64 systems",
"main": "dist/app/app.js",
"scripts": {
"start": "electron .",
Expand All @@ -23,8 +23,11 @@
"devDependencies": {
"@swc/cli": "^0.1.63",
"@swc/core": "^1.3.102",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"electron": "^28.1.3",
"electron-builder": "^24.9.1",
"eslint": "^8.56.0",
"nodemon": "^3.0.2"
}
}
Loading

0 comments on commit cc3d7d0

Please sign in to comment.