Skip to content

Commit fd24ec2

Browse files
refactor: rename project to MiniFy and update related configurations
- Changed project name from "spotify-mini-player" to "MiniFy" across all relevant files. - Updated versioning in package.json and desktop package.json to reflect new branding. - Modified README.md to reflect the new project name and repository link. - Adjusted Tauri configuration and main entry points to align with the new project name. - Removed obsolete GitHub Actions workflows for build and linting. - Enhanced package dependencies and added new scripts for the www application.
1 parent 1083ed6 commit fd24ec2

26 files changed

Lines changed: 787 additions & 3701 deletions
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: Build and Release Desktop
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build:
8+
name: Build and Release (Windows .exe)
9+
runs-on: windows-latest
10+
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: '18'
19+
20+
- name: Setup pnpm
21+
uses: pnpm/action-setup@v4
22+
with:
23+
version: 9.15.4
24+
25+
- name: Get pnpm store directory
26+
id: pnpm_store
27+
shell: bash
28+
run: |
29+
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_OUTPUT
30+
31+
- name: Setup pnpm cache
32+
uses: actions/cache@v4
33+
with:
34+
path: ${{ steps.pnpm_store.outputs.STORE_PATH }}
35+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
36+
restore-keys: |
37+
${{ runner.os }}-pnpm-store-
38+
39+
- name: Install dependencies
40+
run: pnpm install --frozen-lockfile
41+
42+
- name: Determine app version (from Tauri)
43+
id: app_version
44+
shell: bash
45+
run: |
46+
VERSION=$(node -e "console.log(JSON.parse(require('fs').readFileSync('apps/desktop/src-tauri/tauri.conf.json','utf8')).version)")
47+
echo "version=$VERSION" >> $GITHUB_OUTPUT
48+
echo "Detected version: $VERSION"
49+
50+
- name: Build and release with Tauri
51+
uses: tauri-apps/tauri-action@v0
52+
env:
53+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54+
with:
55+
projectPath: apps/desktop
56+
tauriScript: pnpm
57+
args: --bundles app
58+
tagName: v${{ steps.app_version.outputs.version }}
59+
releaseName: MiniFy v${{ steps.app_version.outputs.version }}
60+
releaseBody: Automated release for MiniFy v${{ steps.app_version.outputs.version }}
61+
releaseDraft: false
62+
prerelease: false

.github/workflows/build.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# 🎧 Spotify Mini Player – Modern Overlay Rework
1+
# 🎧 MiniFy – Modern Overlay Rework
22

3-
> A sleek, themeable, and fully customizable **Spotify Mini Player** built with **Tauri**, **React**, and **TypeScript** — designed as a modern overhaul of Spotify’s native mini overlay.
3+
> A sleek, themeable, and fully customizable **MiniFy** built with **Tauri**, **React**, and **TypeScript** — designed as a modern overhaul of Spotify’s native mini overlay.
44
55
![Preview](./assets/preview.png)
66

@@ -34,5 +34,5 @@
3434

3535
### 1️⃣ Clone the Repository
3636
```bash
37-
git clone https://github.com/devjaron/spotify-mini-player.git
38-
cd spotify-mini-player
37+
git clone https://github.com/ModioStudio/MiniFy.git
38+
cd MiniFy

apps/desktop/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8" />
55
<link rel="icon" type="image/svg+xml" href="/logo.png" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Better Mini Player</title>
7+
<title>MiniFy</title>
88
</head>
99

1010
<body class="m-0 p-0 overflow-hidden">

apps/desktop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "desktop",
3-
"version": "0.1.0",
3+
"version": "0.0.1",
44
"private": true,
55
"type": "module",
66
"scripts": {

apps/desktop/src-tauri/Cargo.lock

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/desktop/src-tauri/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
[package]
2-
name = "spotify-mini-player"
2+
name = "minify"
33
version = "0.1.0"
4-
description = "Better Mini Player"
4+
description = "MiniFy"
55
authors = ["you"]
66
edition = "2021"
7-
default-run = "spotify-mini-player"
7+
default-run = "minify"
88

99
[lib]
10-
name = "spotify_mini_player_lib"
10+
name = "minify_lib"
1111
crate-type = ["staticlib", "cdylib", "rlib"]
1212

1313
[[bin]]
14-
name = "spotify-mini-player"
14+
name = "minify"
1515
path = "src/main.rs"
1616

1717
[[bin]]

0 commit comments

Comments
 (0)