This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ appimageTools | |
, fetchurl | |
}: | |
let | |
version = "0.3.0"; | |
buildNumber = "678"; | |
in appimageTools.wrapType2 { | |
name = "minecraft-bedrock"; | |
src = fetchurl { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Author: Sebastiaan Meijer (sebastiaan@passthroughpo.st) | |
# | |
# Copy this file to /etc/libvirt/hooks, make sure it's called "qemu". | |
# After this file is installed, restart libvirt. | |
# From now on, you can easily add per-guest qemu hooks. | |
# Add your hooks in /etc/libvirt/hooks/qemu.d/vm_name/hook_name/state_name. | |
# For a list of available hooks, please refer to https://www.libvirt.org/hooks.html | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[string] $repo = "InfinityGhost/OpenTabletDriver" | |
[string] $repoUrl = "https://github.com/$repo" | |
[string] $srcUrl = "$repoUrl.git" | |
[string] $src = "$PWD/src" | |
[string] $build = "$PWD/build" | |
[string] $bin = "$PWD/OpenTabletDriver" | |
[string] $daemonbin = "$bin/OpenTabletDriver.Daemon/OpenTabletDriver.Daemon.exe" | |
[string] $daemonlnk = "$env:APPDATA/Microsoft/Windows/Start Menu/Programs/Startup/OpenTabletDriver.Daemon.lnk" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ "$1" != "" ]; then | |
cd $1 | |
fi | |
pfx="$PWD/.pfx" | |
osu="$PWD/osu!.exe" | |
if [ -f $osu ]; then | |
echo "Starting \e[96mosu!\e[39m" | |
WINEPREFIX=$pfx wine $osu | |
else | |
echo "\e[93mWINEPREFIX\e[39m will be set up at \e[91m$pfx\e[39m" |