Merge pull request #11 from cupcakearmy/1.3.2

1.3.2
This commit is contained in:
Nicco 2022-01-21 16:34:56 +01:00 committed by GitHub
commit 22f704e41d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 5650 additions and 6784 deletions

View File

@ -1,7 +1,9 @@
name: Main name: Main
on: on:
workflow_dispatch: push:
tags:
- "v*.*.*"
jobs: jobs:
build: build:
@ -12,9 +14,11 @@ jobs:
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
node-version: "14" node-version: "14"
- name: PNPM
run: npm i -g pnpm
- name: Install dependencies - name: Install dependencies
run: yarn install --frozen-lockfile run: pnpm install --frozen-lockfile
- name: Build - name: Build
run: yarn run dist run: pnpm run dist
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

1
.npmrc Normal file
View File

@ -0,0 +1 @@
engine-strict=true

View File

@ -5,44 +5,54 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.3.2] - 2022-01-09
### Changed
- Moved to pnpm
### Security
- Updated all dependencies.
## [1.3.1] - 2021-06-17 ## [1.3.1] - 2021-06-17
### Fixed ### Fixed
- Pause on Mic/Camera was not working correctly - Pause on Mic/Camera was not working correctly.
## [1.3.0] - 2021-06-10 ## [1.3.0] - 2021-06-10
### Added ### Added
- [macOS] Pause on Mic/Camera - [macOS] Pause on Mic/Camera.
## [1.2.0] - 2021-06-01 ## [1.2.0] - 2021-06-01
### Added ### Added
- Progress bar - Progress bar.
## [1.1.2] - 2021-05-31 ## [1.1.2] - 2021-05-31
### Fixed ### Fixed
- Bug with update window when banner is currently open - Bug with update window when banner is currently open.
## [1.1.1] - 2021-05-28 ## [1.1.1] - 2021-05-28
### Added ### Added
- Restore focus to previous window when closing banner - Restore focus to previous window when closing banner.
- Responsive image - Responsive image.
### Fixed ### Fixed
- Settings page not opening - Settings page not opening.
## [1.1.0] - 2021-05-15 ## [1.1.0] - 2021-05-15
### Added ### Added
- Only pause for a limited time - Only pause for a limited time.
- Volume slider for the sound - Volume slider for the sound.

View File

@ -25,10 +25,10 @@ Head to the [release page](https://github.com/cupcakearmy/unpixel/releases) and
## 🛠 Building / Development ## 🛠 Building / Development
1. Clone the repo 1. Clone the repo
2. `yarn install` 2. `pnpm install`
3. `yarn dist` to build for all platforms 3. `pnpm dist` to build for all platforms
Alternatively you can run `yarn build` and the `yarn electron-builder -m` for `macOS`, `-l` fir `linux` or `-w` for `windows`. Alternatively you can run `pnpm build` and the `pnpm electron-builder -m` for `macOS`, `-l` fir `linux` or `-w` for `windows`.
## 📦 Release ## 📦 Release

View File

@ -11,12 +11,17 @@
"repository": { "repository": {
"url": "https://github.com/cupcakearmy/unpixel" "url": "https://github.com/cupcakearmy/unpixel"
}, },
"version": "1.3.1", "version": "1.3.2",
"main": "./dist/back/index.js", "main": "./dist/back/index.js",
"engines": {
"node": "14",
"npm": "please-use-pnpm",
"yarn": "please-use-pnpm"
},
"scripts": { "scripts": {
"start": "electron .", "start": "electron .",
"watch:front": "parcel watch --target front --no-hmr --no-cache ./src/front/*/index.html", "watch:front": "parcel watch --target front --no-hmr ./src/front/*/index.html",
"watch:back": "parcel watch --target back --no-hmr --no-cache ./src/back/index.ts", "watch:back": "parcel watch --target back --no-hmr ./src/back/index.ts",
"dev": "run-p watch:*", "dev": "run-p watch:*",
"build:front": "parcel build --target front ./src/front/*/index.html", "build:front": "parcel build --target front ./src/front/*/index.html",
"build:back": "parcel build --target back ./src/back/index.ts", "build:back": "parcel build --target back ./src/back/index.ts",
@ -42,10 +47,10 @@
}, },
"dependencies": { "dependencies": {
"auto-launch": "^5.0.5", "auto-launch": "^5.0.5",
"axios": "^0.21.1", "axios": "^0.25.0",
"dayjs": "^1.10.4", "dayjs": "^1.10.7",
"electron-log": "^4.3.2", "electron-log": "^4.4.5",
"electron-store": "^7.0.2", "electron-store": "^8.0.1",
"ms": "^2.1.3", "ms": "^2.1.3",
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
@ -54,17 +59,17 @@
"tachyons": "^4.12.0" "tachyons": "^4.12.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.0.0-0", "@babel/core": "^7.16.10",
"@types/auto-launch": "^5.0.1", "@types/auto-launch": "^5.0.2",
"@types/ms": "^0.7.31", "@types/ms": "^0.7.31",
"@types/react": "^17.0.3", "@types/react": "^17.0.38",
"@types/react-dom": "^17.0.3", "@types/react-dom": "^17.0.11",
"@types/semver": "^7.3.4", "@types/semver": "^7.3.9",
"electron": "^11", "electron": "^11.5.0",
"electron-builder": "^22.10.5", "electron-builder": "^22.14.5",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"parcel": "^2.0.0-beta.3.1", "parcel": "^2.2.1",
"postcss": "^8.2.10", "postcss": "^8.4.5",
"typescript": "^4.2.3" "typescript": "^4.5.5"
} }
} }

5589
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -10,8 +10,10 @@ import { InputDevicesStatus } from './utils'
export const DEV = !app.isPackaged export const DEV = !app.isPackaged
// Enforce single instance // Enforce single instance
const isMain = app.requestSingleInstanceLock() if (!app.requestSingleInstanceLock()) {
if (!isMain) app.quit() logger.warn('Another instance is already running. Exiting.')
app.quit()
}
// Disable gpu // Disable gpu
app.disableHardwareAcceleration() app.disableHardwareAcceleration()

View File

@ -1,4 +1,4 @@
@import 'tachyons/css/tachyons.css'; @import '../../../node_modules/tachyons/css/tachyons.css';
body { body {
background-color: #111; background-color: #111;

View File

@ -8,6 +8,6 @@
</head> </head>
<body> <body>
<main></main> <main></main>
<script src="./index.tsx"></script> <script type="module" src="./index.tsx"></script>
</body> </body>
</html> </html>

View File

@ -1,5 +1,5 @@
@import 'spectre.css/dist/spectre.min.css'; @import '../../node_modules/spectre.css/dist/spectre.css';
@import 'tachyons/css/tachyons.min.css'; @import '../../node_modules/tachyons/css/tachyons.css';
body { body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',

View File

@ -8,6 +8,6 @@
</head> </head>
<body> <body>
<main></main> <main></main>
<script src="./index.tsx"></script> <script type="module" src="./index.tsx"></script>
</body> </body>
</html> </html>

6745
yarn.lock

File diff suppressed because it is too large Load Diff