Let armcord take args
This commit is contained in:
parent
f1ffd42bf7
commit
744b85c8a1
|
@ -4,7 +4,9 @@ let
|
||||||
discord = pkgs.writeShellApplication {
|
discord = pkgs.writeShellApplication {
|
||||||
name = "discord";
|
name = "discord";
|
||||||
runtimeInputs = with pkgs; [ nodejs pkgs.unstable.electron ];
|
runtimeInputs = with pkgs; [ nodejs pkgs.unstable.electron ];
|
||||||
text = "cd ~/Projects/ArmCord/ && electron --force-device-scale-factor=1.5 ts-out/main.js";
|
text = ''
|
||||||
|
cd ~/Projects/ArmCord/ && electron --force-device-scale-factor=1.5 ts-out/main.js "$@"
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue