diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6724ef8..31c1fa5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,12 +7,12 @@ on: # Build at 00:00 on every 12th day-of-month. #schedule: #- cron: "0 0 */12 * *" - # Triggers the workflow on push or pull request events but only for the test3 branch + # Triggers the workflow on push or pull request events but only for the test6 branch push: - branches: [ test3 ] + branches: [ test6 ] paths-ignore: [ '**/README.md' ] pull_request: - branches: [ test3 ] + branches: [ test6 ] paths-ignore: [ '**/README.md' ] # Allows you to run this workflow manually from the Actions tab @@ -21,56 +21,45 @@ on: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - build-stable-4-i386: + # This workflow contains a single job called "build-devel" + build-devel: # The type of runner that the job will run on runs-on: ubuntu-latest # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Prerequisites run: | + sudo apt update && sudo apt install libfuse2 -y wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; ./appimage-builder --appimage-extract &>/dev/null mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/ - # wget -q "https://github.com/probonopd/static-tools/releases/download/continuous/mksquashfs-x86_64" -O squashfs-root/usr/bin/mksquashfs - cp runtime/mksquashfs squashfs-root/usr/bin/mksquashfs - rm appimage-builder ; sed -i 's|xz|zstd|' squashfs-root/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py - # stable - echo "WINE_VER=stable-i386_4.0.4" >> $GITHUB_ENV + # devel + if [ $(wget -qO- https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/main/binary-amd64/ | grep wine-devel | head -1 | grep -c ~rc) -gt 0 ]; then + echo "WINE_VER=devel_$(wget -qO- https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/main/binary-amd64/ | grep wine-devel | sed 's|_| |g;s|~| |2;s|~|-|' | awk '{print $5}' | tail -n1)" >> $GITHUB_ENV + else + echo "WINE_VER=devel_$(wget -qO- https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/main/binary-amd64/ | grep wine-devel | sed 's|_| |g;s|~| |g' | awk '{print $5}' | tail -n1)" >> $GITHUB_ENV + fi # Runs a set of commands using the runners shell - name: Build appimage run: | - # add dir dist - mkdir dist - - squashfs-root/AppRun --recipe wine-stable-4-i386.yml - mv *AppImage* dist/. - - - name: Upload artifact - uses: actions/upload-artifact@v1.0.0 - with: - name: wine-stable-4-i386-continuous-x86_64.AppImage - path: 'dist' + # add custom mksquashfs + cp runtime/mksquashfs squashfs-root/usr/bin/mksquashfs - release-stable-4-i386: - needs: [build-stable-4-i386] - runs-on: ubuntu-latest + # force zstd format in appimagebuilder for appimages + rm appimage-builder ; sed -i 's|xz|zstd|' squashfs-root/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py - steps: - - uses: actions/download-artifact@v1 - with: - name: wine-stable-4-i386-continuous-x86_64.AppImage + squashfs-root/AppRun --recipe wine-devel.yml - - name: release - uses: marvinpinto/action-automatic-releases@latest - with: - title: test3 4.0.x i386 - automatic_release_tag: test3 - prerelease: false - draft: false - files: | - wine-stable-4-i386-continuous-x86_64.AppImage - repo_token: ${{ secrets.GITHUB_TOKEN }} + - name: release + uses: marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303 + with: + title: test build wine v9.x.x + automatic_release_tag: test6 + prerelease: false + draft: false + files: /home/runner/work/WINE_AppImage/WINE_AppImage/*.AppImage* + repo_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/wine-devel.yml b/wine-devel.yml new file mode 100644 index 0000000..eb080e7 --- /dev/null +++ b/wine-devel.yml @@ -0,0 +1,160 @@ +version: 1 + +script: + # Remove any previous build cache data + - rm -rf AppDir appimage-builder-cache/var/cache/apt/archives/*wine* || true + - mkdir -p appimage-build/prime AppDir/winedata && cp wrapper AppDir + # Add winetricks + - wget -q "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks" -P ./AppDir/bin && chmod +x ./AppDir/bin/winetricks + # Copy App icon to AppDir/usr/share/icons needed prior to appimage-builder ver 1.x.x + - mkdir -p AppDir/usr/share/icons ; cp wine.svg AppDir/usr/share/icons + # Add static appimage runtime + - cp runtime/runtime-x86_64 appimage-build/prime/runtime-x86_64 + # Add config + - cp -R config AppDir/winedata + +AppDir: + path: ./AppDir + + app_info: + id: org.winehq.wine + name: wine + icon: wine + version: !ENV ${WINE_VER} + exec: bin/bash + exec_args: $APPDIR/wrapper $@ + + apt: + arch: [amd64, i386] + sources: + - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse' + - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse' + - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse' + key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C' + - sourceline: 'deb https://dl.winehq.org/wine-builds/ubuntu/ jammy main' + key_url: 'https://dl.winehq.org/wine-builds/winehq.key' + # - sourceline: 'deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/ jammy main' + # key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xFCAE110B1118213C' + - sourceline: 'deb https://ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu jammy main' + key_url: 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xf63f0f2b90935439' + + include: + - wine-staging-i386=8.21~jammy-1 + - wine-staging-amd64=8.21~jammy-1 + - bash + - cabextract + - cups + - dash + - perl + - coreutils + - mesa-utils + - mesa-utils-bin + - vulkan-tools + - libmspack0 + + files: + exclude: + - sbin + - var + - etc/alternatives + - etc/apt + - etc/cron.daily + - etc/dpkg + - etc/mysql + - etc/sane.d + - etc/sensors.d + - etc/skel + - etc/snmp + - etc/udev + - etc/gss + - etc/init.d + - etc/logrotate.d + - lib/modprobe.d + - lib/systemd + - lib/udev + - usr/lib/mime + - usr/lib/sasl2 + - usr/lib/tmpfiles.d + - usr/sbin + - usr/share/apps + - usr/share/man + - usr/share/doc + - usr/share/adduser + - usr/share/apport + - usr/share/bash-completion + - usr/share/bug + - usr/share/debconf + - usr/share/doc + - usr/share/doc-base + - usr/share/dpkg + - usr/share/glib-2.0 + - usr/share/gst-plugins-base + - usr/share/hal + - usr/share/info + - usr/share/initramfs-tools + - usr/share/kde4 + - usr/share/libgphoto2 + - usr/share/lintian + - usr/share/menu + - usr/share/metainfo + - usr/share/mesa-demos + - usr/share/mime + - usr/share/misc + - usr/share/mysql-common + - usr/share/pixmaps + - usr/share/pkgconfig + - usr/share/polkit-1 + - usr/share/snmp + - usr/share/zoneinfo + - usr/share/zoneinfo-icu + - usr/share/zsh + - opt/wine-staging + - opt/wine-devel/share/man + - opt/wine-devel/share/applications + - opt/wine-devel/lib/wine/i386-unix/*.a + - opt/wine-devel/lib/wine/i386-windows/*.a + - opt/wine-devel/lib64/wine/x86_64-unix/*.a + - opt/wine-devel/lib64/wine/x86_64-windows/*.a + + after_bundle: + # this is executed after the packages and files are added + - | + # Patch wrapper script + sed -i 's|wine-appimage|wine-appimage-devel|' AppDir/wrapper + + # Check for rc builds + if [ $(wget -qO- https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/main/binary-amd64/ | grep wine-devel | tail -n1 | grep -c ~rc) -gt 0 ]; then + WINE_VER="$(wget -qO- https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/main/binary-amd64/ | grep wine-devel | sed 's|_| |g;s|~| |2' | awk '{print $5}' | tail -n1)" + else + WINE_VER="$(wget -qO- https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/main/binary-amd64/ | grep wine-devel | sed 's|_| |g;s|~| |g' | awk '{print $5}' | tail -n1)" + fi + wget -q -c https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/main/binary-i386/wine-devel_${WINE_VER}~jammy-1_i386.deb + wget -q -c https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/main/binary-i386/wine-devel-i386_${WINE_VER}~jammy-1_i386.deb + wget -q -c https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/main/binary-amd64/wine-devel_${WINE_VER}~jammy-1_amd64.deb + wget -q -c https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/main/binary-amd64/wine-devel-amd64_${WINE_VER}~jammy-1_amd64.deb + dpkg -x "wine-devel_${WINE_VER}~jammy-1_i386.deb" AppDir/ + dpkg -x "wine-devel-i386_${WINE_VER}~jammy-1_i386.deb" AppDir/ + dpkg -x "wine-devel_${WINE_VER}~jammy-1_amd64.deb" AppDir/ + dpkg -x "wine-devel-amd64_${WINE_VER}~jammy-1_amd64.deb" AppDir/ + (cd AppDir/usr/bin; ln -s "../../opt/wine-devel/bin/"* .) + + # Cleanup + rm -rf AppDir/usr/share/{applications,man,doc} + rm -rf AppDir/opt/wine-devel/share/{applications,man,doc} + rm -rf AppDir/opt/wine-devel/lib/wine/i386-unix/*.a + rm -rf AppDir/opt/wine-devel/lib/wine/i386-windows/*.a + rm -rf AppDir/opt/wine-devel/lib64/wine/x86_64-unix/*.a + rm -rf AppDir/opt/wine-devel/lib64/wine/x86_64-windows/*.a + + runtime: + env: + APPDIR_LIBC_VERSION: '2.38' + + path_mappings: + - /opt/wine-devel:$APPDIR/opt/wine-devel + +AppImage: + update-information: gh-releases-zsync|mmtrt|WINE_AppImage|test6|wine-devel*.AppImage.zsync + #sign-key: None + arch: x86_64 + diff --git a/wine-stable-4-i386.yml b/wine-stable-4-i386.yml deleted file mode 100644 index 030ca8d..0000000 --- a/wine-stable-4-i386.yml +++ /dev/null @@ -1,196 +0,0 @@ -version: 1 - -script: - # Remove any previous build cache data - - rm -rf AppDir appimage-builder-cache/var/cache/apt/archives/*wine* || true - - mkdir -p appimage-build/prime AppDir && cp wrapper AppDir - # Add winetricks - - wget -q "https://gist.github.com/mmtrt/dcaf1dcca14783646ce57c4271e7d5c6/raw/48351c83de4c89db244b6ca48f88674d25f7b12c/winetricks-wine4" -O ./AppDir/bin/winetricks && chmod +x ./AppDir/bin/winetricks - # Copy App icon to AppDir/usr/share/icons needed prior to appimage-builder ver 1.x.x - - mkdir -p AppDir/usr/share/icons ; cp wine.svg AppDir/usr/share/icons - # Add static appimage runtime - - cp runtime/runtime-x86_64 appimage-build/prime/runtime-x86_64 - # Add WINE official light blue theme - # - wget -q "https://github.com/mmtrt/sommelier-core/raw/tmp/themes/light/light.msstyles" -P ./AppDir/winedata/resources/themes/light - -AppDir: - path: ./AppDir - - app_info: - id: org.winehq.wine - name: wine - icon: wine - version: !ENV ${WINE_VER} - exec: bin/bash - exec_args: $APPDIR/wrapper $@ - - apt: - arch: [amd64, i386] - sources: - - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse' - - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse' - - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse' - key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C' - - sourceline: 'deb https://dl.winehq.org/wine-builds/ubuntu/ jammy main' - key_url: 'https://dl.winehq.org/wine-builds/winehq.key' - # - sourceline: 'deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/ jammy main' - # key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xFCAE110B1118213C' - - sourceline: 'deb https://ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu jammy main' - key_url: 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xf63f0f2b90935439' - - include: - - wine-staging-i386=7.22~jammy-1 - - bash - - cabextract - # - cups - - dash - # - perl - - coreutils - # - mesa-utils - # - unionfs-fuse - # - vulkan-tools - # - libcups2 - - libmspack0 - # - libmpg123-0:i386 - # - gstreamer1.0-plugins-good:i386 - # - gstreamer1.0-plugins-bad:i386 - # - gstreamer1.0-plugins-ugly:i386 - # - winbind:i386 - # - libnvidia-compute-525:i386 - # - libnvidia-decode-525:i386 - # - libnvidia-encode-525:i386 - # - libnvidia-extra-525:i386 - # - libnvidia-fbc1-525:i386 - # - libnvidia-gl-525:i386 - # - libdrm2:i386 - # - libdrm-intel1:i386 - # - libdrm-nouveau2:i386 - # - libdrm-amdgpu1:i386 - # - libdrm-radeon1:i386 - # - libegl-mesa0:i386 - # - libegl1:i386 - # - libgbm1:i386 - # - libgl1:i386 - # - libgl1-mesa-dri:i386 - # - libglapi-mesa:i386 - # - libgles2:i386 - # - libglvnd0:i386 - # - libglx0:i386 - # - libglx-mesa0:i386 - # - mesa-vdpau-drivers:i386 - # - mesa-va-drivers:i386 - # - mesa-vulkan-drivers:i386 - # - libopenal1:i386 - # - libx11-6:i386 - # - libx11-xcb1:i386 - # - libxcb-dri2-0:i386 - # - libxcb-dri3-0:i386 - # - libxcb-glx0:i386 - # - libxcb-present0:i386 - # - libxcb-render0:i386 - # - libxcb-shape0:i386 - # - libxcb-shm0:i386 - # - libxcb-xfixes0:i386 - # - libxcb1:i386 - - files: - exclude: - - sbin - - var - - etc/alternatives - - etc/apt - - etc/cron.daily - - etc/dpkg - - etc/mysql - - etc/sane.d - - etc/sensors.d - - etc/skel - - etc/snmp - - etc/udev - - etc/gss - - etc/init.d - - etc/logrotate.d - - lib/modprobe.d - - lib/systemd - - lib/udev - - usr/lib/mime - - usr/lib/sasl2 - - usr/lib/tmpfiles.d - - usr/sbin - - usr/share/apps - - usr/share/man - - usr/share/doc - - usr/share/adduser - - usr/share/apport - - usr/share/bash-completion - - usr/share/bug - - usr/share/debconf - - usr/share/doc - - usr/share/doc-base - - usr/share/dpkg - - usr/share/glib-2.0 - - usr/share/gst-plugins-base - - usr/share/hal - - usr/share/info - - usr/share/initramfs-tools - - usr/share/kde4 - - usr/share/libgphoto2 - - usr/share/lintian - - usr/share/menu - - usr/share/metainfo - - usr/share/mesa-demos - - usr/share/mime - - usr/share/misc - - usr/share/mysql-common - - usr/share/pixmaps - - usr/share/pkgconfig - - usr/share/polkit-1 - - usr/share/snmp - - usr/share/zoneinfo - - usr/share/zoneinfo-icu - - usr/share/zsh - - opt/wine-staging - - opt/wine-stable/share/man - - opt/wine-stable/lib/wine/*.a - - opt/wine-stable/lib/wine/*.def - - after_bundle: - # this is executed after the packages and files are added - - | - WINE_VER="4.0.4" - wget -q -c https://dl.winehq.org/wine-builds/ubuntu/dists/focal/main/binary-i386/wine-stable_${WINE_VER}~focal_i386.deb - wget -q -c https://dl.winehq.org/wine-builds/ubuntu/dists/focal/main/binary-i386/wine-stable-i386_${WINE_VER}~focal_i386.deb - dpkg -x "wine-stable_${WINE_VER}~focal_i386.deb" AppDir/ - dpkg -x "wine-stable-i386_${WINE_VER}~focal_i386.deb" AppDir/ - (cd AppDir/usr/bin; ln -s "../../opt/wine-stable/bin/"* .) - - # Cleanup - rm -rf AppDir/usr/share/{applications,man,doc} - rm -rf AppDir/opt/wine-stable/share/{applications,man,doc} - - # Disable FileOpenAssociations - sed -i 's| LicenseInformation| LicenseInformation,\\\n FileOpenAssociations|g;$a \\n[FileOpenAssociations]\nHKCU,Software\\Wine\\FileOpenAssociations,"Enable",,"N"' AppDir/opt/wine-stable/share/wine/wine.inf - - # Disable winemenubuilder - sed -i 's| FileOpenAssociations| FileOpenAssociations,\\\n DllOverrides|;$a \\n[DllOverrides]\nHKCU,Software\\Wine\\DllOverrides,"*winemenubuilder.exe",,""' AppDir/opt/wine-stable/share/wine/wine.inf - sed -i '/\%11\%\\winemenubuilder.exe -a -r/d' AppDir/opt/wine-stable/share/wine/wine.inf - - # Pre patch setting wine blue theme by default - sed -i 's| DllOverrides| DllOverrides,\\\n ThemeSet|;$a \\n[ThemeSet]\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"ColorName",,"Blue"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"DllName",,"C:\\windows\\resources\\themes\\light\\light.msstyles"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"ThemeActive",,"1"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"FlatMenu",0x10001,0x00000000\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"GradientCaption",0x10001,0x00000001\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"SizeName",,"NormalSize"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"IconTitleFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"LoadedBefore",,"1"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"NonClientMetrics",1,f8,01,00,00,01,00,00,00,10,00,00,00,10,00,00,00,12,00,\\\n00,00,12,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,0f,00,\\\n00,00,0f,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,12,00,\\\n00,00,12,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,f5,ff,\\\nff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,00,00,00,00,00,00,\\\n22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,20,00,44,00,6c,00,67,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,\\\n00,00,00,00,00,00,90,01,00,00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,\\\n00,6d,00,61,00,00,00,6c,00,20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Colors,"ActiveBorder",,"255 255 255"\nHKCU,Control Panel\\Colors,"ActiveTitle",,"50 150 250"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ActiveBorder",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ActiveTitle",,"10 36 106"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"AppWorkSpace",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Background",,"58 110 165"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonAlternateFace",,"181 181 181"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonDkShadow",,"64 64 64"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonFace",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonHilight",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonLight",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonShadow",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonText",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"GradientActiveTitle",,"166 202 240"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"GradientInactiveTitle",,"192 192 192"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"GrayText",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Hilight",,"10 36 106"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"HilightText",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"HotTrackingColor",,"0 0 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InactiveBorder",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InactiveTitle",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InactiveTitleText",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InfoText",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InfoWindow",,"255 255 225"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Menu",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"MenuBar",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"MenuHilight",,"10 36 106"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"MenuText",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Scrollbar",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"TitleText",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Window",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"WindowFrame",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"WindowText",,"0 0 0"\nHKCU,Control Panel\\Colors,"AppWorkSpace",,"128 128 128"\nHKCU,Control Panel\\Colors,"Background",,"37 111 149"\nHKCU,Control Panel\\Colors,"ButtonAlternateFace",,"255 255 255"\nHKCU,Control Panel\\Colors,"ButtonDkShadow",,"106 106 106"\nHKCU,Control Panel\\Colors,"ButtonFace",,"245 245 245"\nHKCU,Control Panel\\Colors,"ButtonHilight",,"255 255 255"\nHKCU,Control Panel\\Colors,"ButtonLight",,"227 227 227"\nHKCU,Control Panel\\Colors,"ButtonShadow",,"166 166 166"\nHKCU,Control Panel\\Colors,"ButtonText",,"0 0 0"\nHKCU,Control Panel\\Colors,"GradientActiveTitle",,"50 150 250"\nHKCU,Control Panel\\Colors,"GradientInactiveTitle",,"245 245 245"\nHKCU,Control Panel\\Colors,"GrayText",,"166 166 166"\nHKCU,Control Panel\\Colors,"Hilight",,"48 150 250"\nHKCU,Control Panel\\Colors,"HilightText",,"255 255 255"\nHKCU,Control Panel\\Colors,"HotTrackingColor",,"224 224 224"\nHKCU,Control Panel\\Colors,"InactiveBorder",,"255 255 255"\nHKCU,Control Panel\\Colors,"InactiveTitle",,"245 245 245"\nHKCU,Control Panel\\Colors,"InactiveTitleText",,"100 100 100"\nHKCU,Control Panel\\Colors,"InfoText",,"0 0 0"\nHKCU,Control Panel\\Colors,"InfoWindow",,"255 255 255"\nHKCU,Control Panel\\Colors,"Menu",,"255 255 255"\nHKCU,Control Panel\\Colors,"MenuBar",,"255 255 255"\nHKCU,Control Panel\\Colors,"MenuHilight",,"48 150 250"\nHKCU,Control Panel\\Colors,"MenuText",,"0 0 0"\nHKCU,Control Panel\\Colors,"Scrollbar",,"255 255 255"\nHKCU,Control Panel\\Colors,"TitleText",,"0 0 0"\nHKCU,Control Panel\\Colors,"Window",,"255 255 255"\nHKCU,Control Panel\\Colors,"WindowFrame",,"158 158 158"\nHKCU,Control Panel\\Colors,"WindowText",,"0 0 0"\nHKCU,Control Panel\\Desktop,"UserPreferencesMask",1,30,00,02,80,12,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"BorderWidth",,"1"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"CaptionFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,00,\\\n00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"CaptionHeight",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"CaptionWidth",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"IconFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\\\n00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MenuFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\\\n00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MenuHeight",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MenuWidth",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MessageFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\\\n00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"ScrollHeight",,"17"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"ScrollWidth",,"17"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"SmCaptionFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"SmCaptionHeight",,"15"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"SmCaptionWidth",,"15"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"StatusFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\\\n00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00' AppDir/opt/wine-stable/share/wine/wine.inf - - # Pre patch CJK font replacement with Noto Sans CJK by defualt - sed -i 's| DllOverrides| DllOverrides,\\\n FontReplacement|g;$a \\n[FontReplacement]\nHKCU,Software\\Wine\\Fonts\\Replacements,"Batang",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"BatangChe",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Dotum",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"DotumChe",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Gulim",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"GulimChe",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei Light",,"Noto Sans CJK TC Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei Bold",,"Noto Sans CJK TC Black"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei UI",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei UI Light",,"Noto Sans CJK TC Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei UI Bold",,"Noto Sans CJK TC Black"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei Light",,"Noto Sans CJK SC Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei Bold",,"Noto Sans CJK SC Black"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei UI",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei UI Light",,"Noto Sans CJK SC Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei UI Bold",,"Noto Sans CJK SC Black"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MingLiU",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MingLiU-ExtB",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MingLiU_HKSCS",,"Noto Sans CJK HK"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MingLiU_HKSCS-ExtB",,"Noto Sans CJK HK"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MS Gothic",,"Noto Sans CJK JP"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MS PGothic",,"Noto Sans CJK JP"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MS UI Gothic",,"Noto Sans CJK JP"\nHKCU,Software\\Wine\\Fonts\\Replacements,"NSimSun",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"PMingLiU",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"PMingLiU-ExtB",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"SimHei",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"SimSun",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"SimSun-ExtB",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic Regular",,"Noto Sans CJK JP"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic Medium",,"Noto Sans CJK JP Medium"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic Light",,"Noto Sans CJK JP Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic Bold",,"Noto Sans CJK JP Black"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic UI Regular",,"Noto Sans CJK JP"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic UI Medium",,"Noto Sans CJK JP Medium"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic UI Semilight",,"Noto Sans CJK JP DemiLight"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic UI Light",,"Noto Sans CJK JP Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic UI Bold",,"Noto Sans CJK JP Black"' AppDir/opt/wine-stable/share/wine/wine.inf - - runtime: - env: - LIBGL_DRIVERS_PATH: '${APPDIR}/usr/lib/i386-linux-gnu/dri:${APPDIR}/usr/lib/x86_64-linux-gnu/dri:${LIBGL_DRIVERS_PATH}' - APPDIR_LIBC_VERSION: '2.38' - - path_mappings: - - /opt/wine-stable:$APPDIR/opt/wine-stable - -AppImage: - update-information: gh-releases-zsync|mmtrt|WINE_AppImage|test3|wine-stable*.AppImage.zsync - #sign-key: None - arch: x86_64 - diff --git a/wrapper b/wrapper index a553508..8e7add2 100755 --- a/wrapper +++ b/wrapper @@ -48,4 +48,4 @@ if [ -z "$APPLICATION" ] ; then "$MAIN" "$@" else "$MAIN" "$APPLICATION" -fi +fi \ No newline at end of file