Page 1 of 1

I can`t export game.lua to game.exe, any help?

Posted: Wed Apr 29, 2020 1:28 pm
by dracir15
I have made my first minigame and I want to share it with my friends. When I do the instructions, it doesn't work. I have Windows 10 and 64bits. First I compile my .lua files into a .zip file and then I change the .zip to .love. I see than if I move the game.love to the love.exe, the minigame works. After that, I do:

PS C:\Users\Usuario\Desktop\love-0.10.2-win64> copy /b love.exe+game.love game.exe

And the message is:

Copy-Item : No se encuentra ningún parámetro de posición que acepte el argumento 'game.exe'.
En línea: 1 Carácter: 1
+ copy /b love.exe+game.love game.exe
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Copy-Item], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.CopyItemCommand

Any help?

Re: I can`t export game.lua to game.exe, any help?

Posted: Fri May 01, 2020 10:04 am
by ReFreezed
Are you using PowerShell? That command is for cmd.exe, not PowerShell.

Re: I can`t export game.lua to game.exe, any help?

Posted: Sat May 02, 2020 11:12 am
by JuanjoSalvador
If you're using PowerShell, add "cmd" before.

Code: Select all

cmd copy /b love.exe+game.love game.exe