This commit is contained in:
xgui4
2026-05-03 11:20:59 -04:00
parent bf24d0bef8
commit 889ee74b7d
8 changed files with 14 additions and 7 deletions

View File

@@ -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() {

View File

@@ -2,7 +2,7 @@
pkgs.python3Packages.buildPythonApplication rec {
pname = "lce-qt-launcher";
version = "2026.5.2";
version = "2026.5.3";
format = "pyproject";
src = ./.;

View File

@@ -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')

View File

@@ -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() {

View File

@@ -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"

View File

@@ -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"

View File

@@ -23,6 +23,7 @@ pkgs.mkShell {
buildInputs = with pkgs; [
pyside-uic
pyside-rcc
monocraft
qt6.qtbase
qt6.qtwayland
libGL

View File

@@ -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(