SurviePote 3/4: launcher (rebrand, sans RPC/news/socials, icônes kisakay, sans backgrounds)
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
# SurviePote Launcher — Config
|
||||
|
||||
Fork de HeliosLauncher 2.2.1, rebrandé SurviePote.
|
||||
`.git` d'origine supprimé, historique repart de zéro dans `k/mc`.
|
||||
|
||||
## Identité appliquée
|
||||
|
||||
- `package.json` : name `surviepote-launcher`, productName `SurviePote`, v1.0.0
|
||||
- `electron-builder.yml` : appId `org.surviepote.launcher`, productName `SurviePote`
|
||||
- Data dir : `~/.surviepote` (ex `.helioslauncher`)
|
||||
- Natives tmp : `SurviePoteNatives` (ex `WCNatives`)
|
||||
- Titre : `SurviePote` (`app/assets/lang/_custom.toml`)
|
||||
- Distro URL : `https://mcpv.ihorizon.org/distribution.json` (`app/assets/js/distromanager.js:7`)
|
||||
|
||||
## TODO à fournir (tu me donnes, je câble)
|
||||
|
||||
1. **Logo** : PNG 512x512 (ou ICO + PNG) → remplace `build/icon.png` + `app/assets/images/SealCircle.*`
|
||||
+ backgrounds optionnels dans `app/assets/images/backgrounds/`
|
||||
2. **Azure Client ID (Microsoft login)** : crée app Entra ID (voir `docs/MicrosoftAuth.md`),
|
||||
puis remplace `AZURE_CLIENT_ID` dans `app/assets/js/ipcconstants.js:8`
|
||||
Actuel = placeholder Helios `1ce6e35a-...` (marche pour dev, à changer en prod).
|
||||
3. **Discord Rich Presence** : supprimé (stub no-op dans `app/assets/js/discordwrapper.js`, dep `discord-rpc-patch` retirée, pas de hook dans `landing.js`).
|
||||
4. **RSS News** : URL feed → `atlas/root/meta/distrometa.json` (`meta.rss`)
|
||||
5. **Auto-update** : `dev-app-update.yml` pointe encore vers `dscalzi/HeliosLauncher`.
|
||||
Donne-moi owner/repo (ex `k/mc-launcher-updates`) ou dis-moi si on désactive l'auto-update.
|
||||
Prod : configurer `electron-builder.yml` `publish` + signer si besoin.
|
||||
6. **Distribution URL finale** : si autre que `https://mcpv.ihorizon.org/distribution.json`,
|
||||
dis-moi et je change `distromanager.js`.
|
||||
|
||||
## Dev
|
||||
|
||||
```bash
|
||||
cd launcher
|
||||
node --version # v22 requis (.nvmrc)
|
||||
npm install
|
||||
npm start
|
||||
```
|
||||
|
||||
## Build
|
||||
|
||||
```bash
|
||||
npm run dist:win # Windows x64
|
||||
npm run dist:mac # macOS
|
||||
npm run dist:linux # Linux AppImage
|
||||
# sortie dans launcher/dist/
|
||||
```
|
||||
|
||||
## Fichiers touchés par le rebrand
|
||||
|
||||
- `package.json`, `electron-builder.yml`, `dev-app-update.yml` (TODO)
|
||||
- `app/assets/js/distromanager.js`, `configmanager.js`, `ipcconstants.js`
|
||||
- `app/assets/lang/_custom.toml`
|
||||
Reference in New Issue
Block a user