Skip to content

Commit

Permalink
Update to new Electron version
Browse files Browse the repository at this point in the history
  • Loading branch information
RuurdBijlsma committed Oct 6, 2024
1 parent bea5217 commit 109de6f
Show file tree
Hide file tree
Showing 104 changed files with 7,896 additions and 6,566 deletions.
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
dist
out
.gitignore
17 changes: 17 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
extends: [
'eslint:recommended',
'plugin:vue/vue3-recommended',
'@electron-toolkit',
'@electron-toolkit/eslint-config-ts/eslint-recommended',
'@vue/eslint-config-typescript/recommended',
'@vue/eslint-config-prettier'
],
rules: {
'vue/require-default-prop': 'off',
'vue/multi-word-component-names': 'off'
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules
dist
out
.DS_Store
*.log*
.idea
3 changes: 2 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/
electron_mirror=https://npmmirror.com/mirrors/electron/
electron_builder_binaries_mirror=https://npmmirror.com/mirrors/electron-builder-binaries/
9 changes: 5 additions & 4 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules
dist
out
*.log*
.idea
dist
pnpm-lock.yaml
LICENSE.md
tsconfig.json
tsconfig.*.json
1 change: 0 additions & 1 deletion .prettierrc

This file was deleted.

4 changes: 4 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
singleQuote: true
semi: false
printWidth: 100
trailingComma: none
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

Music player built with Electron, Vue 3, and Vuetify.

* Listen to your Spotify library without ads, no premium account needed.
* Add YouTube tracks to your liked tracks, in case they're not available on Spotify.
* MP3 files with album art and metadata are stored for every track, so you can take them anywhere.
* Includes Spotify features such as:
* Track and artist radio
* Access discover weekly and other discovery playlists
* Curated homepage, showing relevant playlists, recently played, recommended content, and new releases.
* Browse categories, such as workout, where you can find many workout playlists
* Generate a custom radio, based on given genres and many more options
- Listen to your Spotify library without ads, no premium account needed.
- Add YouTube tracks to your liked tracks, in case they're not available on Spotify.
- MP3 files with album art and metadata are stored for every track, so you can take them anywhere.
- Includes Spotify features such as:
- Track and artist radio
- Access discover weekly and other discovery playlists
- Curated homepage, showing relevant playlists, recently played, recommended content, and new releases.
- Browse categories, such as workout, where you can find many workout playlists
- Generate a custom radio, based on given genres and many more options

## How to use

Expand All @@ -29,34 +29,34 @@ Music player built with Electron, Vue 3, and Vuetify.

### Liked tracks

![Liked tracks](/.gh/liked-tracks.png?raw=true "Homepage")
![Liked tracks](/.gh/liked-tracks.png?raw=true 'Homepage')

### Light and dark theme support

![Homepage](/.gh/light-theme.png?raw=true "Home page")
![Homepage](/.gh/light-theme.png?raw=true 'Home page')

### Playlist page

![Playlist tracks](/.gh/playlist.png?raw=true "Playlist")
![Playlist tracks](/.gh/playlist.png?raw=true 'Playlist')

### Search

#### Suggestions

![Search suggestions](/.gh/search.png?raw=true "Search suggestions")
![Search suggestions](/.gh/search.png?raw=true 'Search suggestions')

#### Search includes liked tracks, Spotify tracks, playlists, albums, artists and YouTube tracks.

![Search](/.gh/search-2.png?raw=true "Search page")
![Search](/.gh/search-2.png?raw=true 'Search page')

### Artist page

![Artist page](/.gh/artist.png?raw=true "Artist page")
![Artist page](/.gh/artist.png?raw=true 'Artist page')

### Browse page

![Browse tracks](/.gh/browse.png?raw=true "Browse")
![Browse tracks](/.gh/browse.png?raw=true 'Browse')

### Custom radio generator

![Custom radio generator](/.gh/radio-gen.png?raw=true "Custom radio generator")
![Custom radio generator](/.gh/radio-gen.png?raw=true 'Custom radio generator')
3 changes: 0 additions & 3 deletions dev-app-update.yml

This file was deleted.

10 changes: 5 additions & 5 deletions electron-builder.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
appId: dev.ruurd.music
productName: "Ruurd Music"
productName: 'Ruurd Music'
directories:
buildResources: build
files:
Expand All @@ -21,10 +21,10 @@ nsis:
mac:
entitlementsInherit: build/entitlements.mac.plist
extendInfo:
- NSCameraUsageDescription: Application requests access to the device's camera.
- NSMicrophoneUsageDescription: Application requests access to the device's microphone.
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
- NSCameraUsageDescription: Application requests access to the device's camera.
- NSMicrophoneUsageDescription: Application requests access to the device's microphone.
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
notarize: false
dmg:
artifactName: ${name}-${version}.${ext}
Expand Down
31 changes: 14 additions & 17 deletions electron.vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
import { resolve } from 'path'
import { defineConfig, externalizeDepsPlugin } from 'electron-vite'
import vue from '@vitejs/plugin-vue'
import vuetify from "vite-plugin-vuetify";
import vuetify from 'vite-plugin-vuetify'

export default defineConfig({
main: {
plugins: [externalizeDepsPlugin()]
},
preload: {
plugins: [externalizeDepsPlugin()]
},
renderer: {
resolve: {
alias: {
'@renderer': resolve('src/renderer/src')
}
main: {
plugins: [externalizeDepsPlugin()]
},
plugins: [
vue(),
vuetify({ autoImport: true }),
]
}
preload: {
plugins: [externalizeDepsPlugin()]
},
renderer: {
resolve: {
alias: {
'@renderer': resolve('src/renderer/src')
}
},
plugins: [vue(), vuetify({ autoImport: true })]
}
})
Loading

0 comments on commit 109de6f

Please sign in to comment.