mirror of
https://github.com/xgui4/LCE-Qt-Launcher.git
synced 2026-07-16 00:20:46 +00:00
...
This commit is contained in:
4
PKGBUILD
4
PKGBUILD
@@ -1,6 +1,6 @@
|
||||
# Maintainer: Xgui4
|
||||
pkgname=lce-qt-launcher-git
|
||||
pkgver=r149.804311b
|
||||
pkgver=nightly
|
||||
pkgrel=1
|
||||
pkgdesc="A custom Minecraft LCE Launcher written in Python and Qt with GNU/Linux support in mind. (Nigthly/Git Build)"
|
||||
arch=('any')
|
||||
@@ -37,7 +37,7 @@ sha256sums=('SKIP')
|
||||
pkgver() {
|
||||
cd "$pkgname"
|
||||
# cutting off 'foo-' prefix that presents in the git tag
|
||||
git describe --long --abbrev=7 | sed 's/^foo-//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
git describe --long --tags | sed 's/^foo-//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
pkgs.python3Packages.buildPythonApplication rec {
|
||||
pname = "lce-qt-launcher";
|
||||
version = "2026.5.2";
|
||||
version = "2026.5.3";
|
||||
format = "pyproject";
|
||||
|
||||
src = ./.;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Maintainer: Xgui4
|
||||
pkgname=lce-qt-launcher-beta
|
||||
pkgver=nightly.r18.g5a60241
|
||||
pkgver=nightly.r59.gc46cf72
|
||||
pkgrel=1
|
||||
pkgdesc="A custom Minecraft LCE Launcher written in Python and Qt with GNU/Linux support in mind. (Beta Build)"
|
||||
arch=('any')
|
||||
|
||||
@@ -37,7 +37,7 @@ sha256sums=('SKIP')
|
||||
pkgver() {
|
||||
cd "$pkgname"
|
||||
# cutting off 'foo-' prefix that presents in the git tag
|
||||
git describe --long --abbrev=7 | sed 's/^foo-//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
git describe --long --tags | sed 's/^foo-//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
; Non-commercial use only
|
||||
|
||||
#define MyAppName "LCE Qt Launcher (Nightly Preview Inno Setup 7 Installer)"
|
||||
#define MyAppVersion "2026.5.2"
|
||||
#define MyAppVersion "2026.5.3"
|
||||
#define MyAppPublisher "Xgui4"
|
||||
#define MyAppURL "https://github.com/xgui4/lce-qt-launcher"
|
||||
#define MyAppExeName "main.exe"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
; Non-commercial use only
|
||||
|
||||
#define MyAppName "LCE Qt Launcher (Nightly)"
|
||||
#define MyAppVersion "2026.5.2"
|
||||
#define MyAppVersion "2026.5.3"
|
||||
#define MyAppPublisher "Xgui4"
|
||||
#define MyAppURL "https://github.com/xgui4/lce-qt-launcher"
|
||||
#define MyAppExeName "main.exe"
|
||||
|
||||
@@ -23,6 +23,7 @@ pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
pyside-uic
|
||||
pyside-rcc
|
||||
monocraft
|
||||
qt6.qtbase
|
||||
qt6.qtwayland
|
||||
libGL
|
||||
|
||||
@@ -16,6 +16,12 @@
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
import subprocess
|
||||
|
||||
def add_instance_to_steam(instance_exe_path : str, instance_name : str, icon : str):
|
||||
subprocess.run(["steam-shortcuts-cli", "add", instance_name, instance_exe_path, f"--icon=\"{icon}\"", "--tags=\"Sandbox,Minecraft\""])
|
||||
pass
|
||||
|
||||
def main():
|
||||
print(
|
||||
|
||||
Reference in New Issue
Block a user