Skip to content

Commit bdbc7b6

Browse files
committed
update scripts
1 parent de4c00a commit bdbc7b6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This file is part of uEssentials project.
44
https://uessentials.github.io/
55
6-
Copyright (C) 2015-2017 Leonardosc
6+
Copyright (C) 2015-2017 Leonardosnt
77
88
This program is free software; you can redistribute it and/or modify
99
it under the terms of the GNU General Public License as published by
@@ -38,7 +38,7 @@ def build(args):
3838
os.system("msbuild /nologo /p:Configuration=Debug /t:Rebuild,Clean")
3939
elif build_type == "RELEASE":
4040
os.system("msbuild /p:DefineConstants="" /p:Configuration=Release /t:Rebuild,Clean")
41-
shutil.copy("%s\\bin\\Release\\uEssentials.dll"%sys.path[0], "%s\\bin\\uEssentials.dll"%sys.path[0])
41+
shutil.copy2("./bin/Release/uEssentials.dll", "./bin/")
4242
elif build_type == "EXPERIMENTAL":
4343
# Check if has EXPERIMENTAL_HASH
4444
if len(args) > 2 and args[1] == "EXPERIMENTAL_HASH":

scripts/update_lib.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ IF NOT EXIST "TmpRocket" (
1313
)
1414

1515
:: Unzip Rocket
16-
7z -y x Rocket.zip -o./TmpRocket
16+
"C:\Program Files\7-Zip\7z.exe" -y x Rocket.zip -o./TmpRocket
1717

1818
:: Copy Rocket dll's to lib\
1919
cp TmpRocket/Modules/Rocket.Unturned/*.dll ..\lib

0 commit comments

Comments
 (0)