Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…-launcher into next
  • Loading branch information
krypt0nn committed Jun 18, 2023
2 parents b5d2aad + 3eb7421 commit 3067b62
Show file tree
Hide file tree
Showing 40 changed files with 199 additions and 60 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

- Added deletion of old patch files (just in case)
- Added telemetry disabling state support
- Added Discord RPC icons updating

### Changed

- Returned back old `background` file path

## [1.2.0] - 15.06.2023

Expand Down
24 changes: 12 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ glib-build-tools = "0.17"

[dependencies.anime-launcher-sdk]
git = "https://github.com/an-anime-team/anime-launcher-sdk"
tag = "1.7.7"
tag = "1.8.2"
features = ["all", "honkai", "honkai-patch"]

# path = "../anime-launcher-sdk" # ! for dev purposes only
Expand Down
4 changes: 4 additions & 0 deletions assets/locales/de/errors.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ game-patching-error = Spiel konnte nicht gepatcht werden

main-patch-update-failed = Die neuste Version des Patches konnte nicht heruntergeladen werden
# Disable telemetry

telemetry-servers-disabling-error = Telemetrie server konnten nicht geblockt werden
# Sandbox

documentation-url-open-failed = Dokumentations-URL kann nicht geöffnet werden
Expand Down
1 change: 1 addition & 0 deletions assets/locales/de/main.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ launch = Starten
migrate-folders = Ordner migrieren
migrate-folders-tooltip = Spielordnerstruktur aktualisieren
apply-patch = Patch anwenden
disable-telemetry = Blockiere Telemetrie
download-wine = Wine Herunterladen
create-prefix = Prefix erstellen
update = Updaten
Expand Down
4 changes: 4 additions & 0 deletions assets/locales/en/errors.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ game-patching-error = Failed to patch game

main-patch-update-failed = Failed to download latest patch version
# Disable telemetry

telemetry-servers-disabling-error = Failed to disable telemetry servers
# Sandbox

documentation-url-open-failed = Failed to open documentation URL
Expand Down
1 change: 1 addition & 0 deletions assets/locales/en/main.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ launch = Launch
migrate-folders = Migrate folders
migrate-folders-tooltip = Update game folders structure
apply-patch = Apply patch
disable-telemetry = Disable telemetry
download-wine = Download wine
create-prefix = Create prefix
update = Update
Expand Down
4 changes: 4 additions & 0 deletions assets/locales/es/errors.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ game-patching-error = Fallo al parchear el juego

main-patch-update-failed = Fallo al descargar la última versión del parche
# Disable telemetry

telemetry-servers-disabling-error = Failed to disable telemetry servers
# Sandbox

documentation-url-open-failed = Failed to open documentation URL
Expand Down
1 change: 1 addition & 0 deletions assets/locales/es/main.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ launch = Iniciar
migrate-folders = Migrar carpetas
migrate-folders-tooltip = Actualizar estructura de carpetas del juego
apply-patch = Aplicar parche
disable-telemetry = Disable telemetry
download-wine = Descargar wine
create-prefix = Crear prefijo
update = Actualizar
Expand Down
4 changes: 4 additions & 0 deletions assets/locales/fr/errors.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ game-patching-error = Le patch du jeu a échoué

main-patch-update-failed = Impossible de télécharger la dernière version du patch
# Disable telemetry

telemetry-servers-disabling-error = Failed to disable telemetry servers
# Sandbox

documentation-url-open-failed = Failed to open documentation URL
Expand Down
1 change: 1 addition & 0 deletions assets/locales/fr/main.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ launch = Lancer
migrate-folders = Migrate folders
migrate-folders-tooltip = Update game folders structure
apply-patch = Appliquer le patch
disable-telemetry = Disable telemetry
download-wine = Télécharger wine
create-prefix = Créer le préfix wine
update = Mettre à jour
Expand Down
4 changes: 4 additions & 0 deletions assets/locales/hu/errors.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ game-patching-error = Sikertelen játék patchelés

main-patch-update-failed = Failed to download latest patch version
# Disable telemetry

telemetry-servers-disabling-error = Failed to disable telemetry servers
# Sandbox

documentation-url-open-failed = Failed to open documentation URL
Expand Down
6 changes: 6 additions & 0 deletions assets/locales/hu/general.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ game-outdated = A játékverzió túl régi és nem frissíthető. Legfrissebb:
player-patch-version = Játékos patch verzió
player-patch-version-description = A fő patch amivel játszhatsz Linuxon
mfplat-patch-version = Mfplat patch version
mfplat-patch-version-description = Additional patch that may fix video playing issues
applied = applied
not-applied = not applied
patch-not-available = nem elérhető
patch-not-available-tooltip = A patch szerverek nem elérhetőek
Expand Down
1 change: 1 addition & 0 deletions assets/locales/hu/main.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ launch = Indítás
migrate-folders = Mappák migrálása
migrate-folders-tooltip = Játékmappa struktúra frissítése
apply-patch = Patch alkalmazása
disable-telemetry = Disable telemetry
download-wine = Wine letöltése
create-prefix = Prefix létrehozása
update = Frissítés
Expand Down
4 changes: 4 additions & 0 deletions assets/locales/id/errors.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ game-patching-error = Gagal melakukan patch pada game

main-patch-update-failed = Gagal mengunduh patch versi terbaru
# Disable telemetry

telemetry-servers-disabling-error = Failed to disable telemetry servers
# Sandbox

documentation-url-open-failed = Gagal membuka tautan dokumentasi
Expand Down
6 changes: 6 additions & 0 deletions assets/locales/id/general.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ game-outdated = Versi game terlalu lama dan tidak dapat diperbarui. Versi terbar
player-patch-version = Versi patch
player-patch-version-description = Patch utama yang membuat game bisa dimainkan di Linux
mfplat-patch-version = Mfplat patch version
mfplat-patch-version-description = Additional patch that may fix video playing issues
applied = applied
not-applied = not applied
patch-not-available = Tidak tersedia
patch-not-available-tooltip = Server patch tidak bisa dijangkau
Expand Down
5 changes: 3 additions & 2 deletions assets/locales/id/main.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ components-index-updated = Index komponen baru saja diperbarui
launch = Luncurkan
migrate-folders = Pindahkan folder
migrate-folders-tooltip = Perbarui struktur folder game
apply-patch = Terapkan patch
migrate-folders-tooltip = Perbarui struktur folder game
apply-patch = Terapkan patch
disable-telemetry = Disable telemetry
download-wine = Unduh wine
create-prefix = Buat prefix
update = Perbarui
Expand Down
4 changes: 4 additions & 0 deletions assets/locales/it/errors.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ game-patching-error = Patching del gioco non riuscito

main-patch-update-failed = Scaricamento dell'ultima patch non riuscito
# Disable telemetry

telemetry-servers-disabling-error = Failed to disable telemetry servers
# Sandbox

documentation-url-open-failed = Apertura dell'URL della documentazione non riuscita
Expand Down
6 changes: 6 additions & 0 deletions assets/locales/it/general.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ game-outdated = La versione del gioco è troppo vecchia e non può essere aggior
player-patch-version = Versione della patch player
player-patch-version-description = Patch principale che ti permette di giocare al gioco su Linux
mfplat-patch-version = Mfplat patch version
mfplat-patch-version-description = Additional patch that may fix video playing issues
applied = applied
not-applied = not applied
patch-not-available = non disponibile
patch-not-available-tooltip = I server delle patch sono irraggiungibili
Expand Down
1 change: 1 addition & 0 deletions assets/locales/it/main.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ launch = Lancia
migrate-folders = Migra cartelle
migrate-folders-tooltip = Aggiorna la struttura delle cartelle del gioco
apply-patch = Applica patch
disable-telemetry = Disable telemetry
download-wine = Scarica wine
create-prefix = Crea prefisso
update = Aggiorna
Expand Down
4 changes: 4 additions & 0 deletions assets/locales/ja/errors.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ game-patching-error = ゲームのパッチに失敗しました。

main-patch-update-failed = 最新のパッチのダウンロードに失敗しました。
# Disable telemetry

telemetry-servers-disabling-error = Failed to disable telemetry servers
# Sandbox

documentation-url-open-failed = ドキュメントページを開けませんでした。
Expand Down
7 changes: 5 additions & 2 deletions assets/locales/ja/general.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ game-outdated = ゲームが非常に古いためアップデートできませ
player-patch-version = プレイヤーのパッチバージョン
player-patch-version-description = Linuxでプレイするためのメインのパッチです。
xlua-patch-version = Xlua のパッチバージョン
xlua-patch-version-description = これは追加のパッチで、低スペックなPCのパフォーマンスの改善や、いくつかの細かい問題点を修正できます。
mfplat-patch-version = Mfplat patch version
mfplat-patch-version-description = Additional patch that may fix video playing issues
applied = applied
not-applied = not applied
patch-not-available = ありません。
patch-not-available-tooltip = パッチサーバーに接続できませんでした。
Expand Down
1 change: 1 addition & 0 deletions assets/locales/ja/main.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ launch = 起動
migrate-folders = 移行ファイル
migrate-folders-tooltip = ゲームフォルダ構成を更新
apply-patch = パッチを適用する
disable-telemetry = Disable telemetry
download-wine = ワインをダウンロード
create-prefix = プレフィックスを作成
update = 更新
Expand Down
4 changes: 4 additions & 0 deletions assets/locales/ru/errors.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ game-patching-error = Не удалось установить патч игры

main-patch-update-failed = Не удалось скачать последнюю версию патча
# Disable telemetry

telemetry-servers-disabling-error = Не удалось отключить серверы телеметрии
# Sandbox

documentation-url-open-failed = Не удалось открыть ссылку с документацией
Expand Down
2 changes: 1 addition & 1 deletion assets/locales/ru/general.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ patch-unsafe-tooltip = Текущая версия патча небезопас
apply-mfplat-patch = Применить патч mfplat
ask-superuser-permissions = Запрашивать права суперпользователя
ask-superuser-permissions-description = Лаунчер будет использовать их чтобы автоматически обновлять ваш hosts файл. Это не требуется при использовании flatpak
ask-superuser-permissions-description = Лаунчер будет использовать их чтобы автоматически обновлять ваш hosts файл для отключения телеметрии игры. Не требуется при использовании flatpak
wine-tools = Инструменты Wine
command-line = Коммандная строка
Expand Down
1 change: 1 addition & 0 deletions assets/locales/ru/main.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ launch = Запустить
migrate-folders = Переместить папки
migrate-folders-tooltip = Обновить структуру файлов игры
apply-patch = Применить патч
disable-telemetry = Отключить телеметрию
download-wine = Установить Wine
create-prefix = Создать префикс
update = Обновить
Expand Down
2 changes: 1 addition & 1 deletion assets/locales/ru/sandbox.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sandbox-description = Запускать игру в изолированном
enable-sandboxing = Использовать песочницу
enable-sandboxing-description = Запускать игру в копии корневой файловой системы компьютера без прав на изменение файлов
hide-home-directory = Скрыть домашнюю директорию
hide-home-directory = Скрывать домашнюю директорию
hide-home-directory-description = Изолировать ваши директории /home, /var/home/$USER, и $HOME от игры
hostname = Имя хоста
Expand Down
4 changes: 4 additions & 0 deletions assets/locales/tr/errors.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ game-patching-error = Yamayı uygulamada sorun çıktı

main-patch-update-failed = Güncel yama sürümü indirilemedi
# Disable telemetry

telemetry-servers-disabling-error = Failed to disable telemetry servers
# Sandbox

documentation-url-open-failed = Belgelemenin URL'si açılamadı
Expand Down
1 change: 1 addition & 0 deletions assets/locales/tr/main.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ launch = Çalıştır
migrate-folders = Dosyaları aktar
migrate-folders-tooltip = Oyun dosyaları yapısını güncelle
apply-patch = Yamayı uygula
disable-telemetry = Disable telemetry
download-wine = Wine indir
create-prefix = Prefix oluştur
update = Güncelle
Expand Down
4 changes: 4 additions & 0 deletions assets/locales/zh-cn/errors.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ game-patching-error = 应用游戏补丁失败

main-patch-update-failed = Failed to download latest patch version
# Disable telemetry

telemetry-servers-disabling-error = Failed to disable telemetry servers
# Sandbox

documentation-url-open-failed = Failed to open documentation URL
Expand Down
1 change: 1 addition & 0 deletions assets/locales/zh-cn/main.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ launch = 启动
migrate-folders = 迁移目录
migrate-folders-tooltip = 更新游戏目录结构
apply-patch = 安装补丁
disable-telemetry = Disable telemetry
download-wine = 下载 Wine
create-prefix = 创建 Wine prefix
update = 更新
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ lazy_static::lazy_static! {
/// Path to `debug.log` file. Standard is `$HOME/.local/share/honkers-launcher/debug.log`
pub static ref DEBUG_FILE: PathBuf = LAUNCHER_FOLDER.join("debug.log");

/// Path to `background` file. Standard is `$HOME/.cache/honkers-launcher/background`
pub static ref BACKGROUND_FILE: PathBuf = CACHE_FOLDER.join("background");
/// Path to `background` file. Standard is `$HOME/.local/share/honkers-launcher/background`
pub static ref BACKGROUND_FILE: PathBuf = LAUNCHER_FOLDER.join("background");

/// Path to `.keep-background` file. Used to mark launcher that it shouldn't update background picture
///
Expand Down
Loading

0 comments on commit 3067b62

Please sign in to comment.