mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-21 01:11:46 +03:00
3083f0f4ce
- changed application id - implemented !28 - changed a bit config file structure From previous commits: - ping command check before telemetry check (!23) - updated empathize version; due to it was removed `Launcher.isPackageAvailable()` method which now included in empathize as `Package.exists()` - `Game.isTelemetryDisabled()` now rejects an Error object when `iputils` package (`ping` command) is not installed - due to the change above was slightly rewritten `Launch.ts` script - added automatic default language selection - added `Locales.system()` method to get launcher-supported locale based on the `$LANG` env variable - use polkit/pkexec instead of removing sudo section (!26) - blured everything that should be blured in the launcher pics - added blank analytics window - removed `components.sass` file; its content was moved to `settings.sass` - improved `Button` component - added `constants.uri.discord` and `constants.placeholders.uppercase.company_alterego` fields - added proper windows centering - added Hungarian - added `wine-ge 7.1-1` and `proton-ge 7.1-(1/2)` to the runners list - `wine-ge 7.1-1` now is the default runner to install during the game's installation - small conspiracy changes - fixed actions execution issues in the launcher's core libraries - added virtual desktop option (!28) - added ToS violation warning window - added additional IPC pull purging during the start of the launcher From 2.1.0-beta1: - moved launcher on empathize - added some links to the end of the settings menu - updated notahuman's shaders to v4 - added localizations for notifications - fixed possible errors in `Locales.bind()` method - added `Locales.translate()` method to translate something - added DXVK 1.9.4 and made it default; DXVK 1.8 and 1.8.1 now aren't recommended - added Indonesian - added Wine synchronization option in settings that can accept None, ESync or FSync - added `xdelta3` package existing checking before patch applying; also added an error notification when patch repos are not available - `cache.json` file was renamed to `.cache.json` - `Patch.fetchTimeout` was increased up to 5 seconds from 3 seconds - fixed *possible* issue with `Locales.default()` method: before, if you've been passing there a language to set as default, it wasn't returning properly - added notification when all the patch repos are not available
46 lines
1.2 KiB
JavaScript
46 lines
1.2 KiB
JavaScript
const path = require('path');
|
|
|
|
// Require bundler
|
|
const { Bundler } = require('neutralino-appimage-bundler');
|
|
|
|
// Create an object with some params
|
|
const bundler = new Bundler({
|
|
// .desktop file properties
|
|
desktop: {
|
|
// Name field
|
|
name: 'An Anime Game Launcher',
|
|
|
|
// Path to the icon
|
|
icon: path.join(__dirname, '../public/icons/64x64.png'),
|
|
|
|
// Categories (defult is Utilities)
|
|
categories: ['Game']
|
|
},
|
|
|
|
// Neutralino binary info
|
|
binary: {
|
|
// Name of the binary (cli.binaryName)
|
|
name: 'an-anime-game-launcher',
|
|
|
|
// Dist folder path
|
|
dist: path.join(__dirname, '../dist')
|
|
},
|
|
|
|
// Should AppImage contain Neutralino's dependencies or not
|
|
// If true, then AppImage will contain binary's shared libraries
|
|
includeLibraries: false,
|
|
|
|
// Some files or folders to copy inside of the the AppImage
|
|
copy: {
|
|
'public': path.join(__dirname, '../dist/an-anime-game-launcher/public')
|
|
},
|
|
|
|
// Path to the appimage to save
|
|
output: path.join(__dirname, '../dist/An Anime Game Launcher.AppImage'),
|
|
|
|
// Application version
|
|
version: '2.1.0'
|
|
});
|
|
|
|
// Bundle project
|
|
bundler.bundle();
|