Przeglądaj źródła

Update fivem_linux32.xml

®omano 4 lat temu
rodzic
commit
a8400af7f2

+ 0 - 18
modules/config_games/server_configs/fivem_linux32.xml

@@ -64,20 +64,6 @@
     </field>    
   </custom_fields>
   <post_install>
-BASE="https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/"
-
-wget $BASE -Otmp
-
-# Assuming the version schema isn't changed or the url above isn't moved, this will always work.
-LATEST_VERSION=$(grep -Po '(?&lt;=href=")[^"]*' tmp | tail -1)
-
-wget "${BASE}${LATEST_VERSION}/fx.tar.xz"
-wget https://github.com/citizenfx/cfx-server-data/archive/master.zip -Ocfx-server-data.zip
-
-tar -xvf fx.tar.xz -C $PWD
-unzip cfx-server-data.zip -d $PWD/server-data
-mv $PWD/server-data/cfx-server-data-master/resources $PWD/resources
-
 cat > $PWD/server.cfg &lt;&lt;END
 # you probably don't want to change these!
 # only change them if you're using a server with multiple network interfaces
@@ -136,11 +122,7 @@ sv_licenseKey superduperkey
 set steam_webApiKey ""   
     
 END
-
-rm tmp fx.tar.xz cfx-server-data.zip
-rm -rf $PWD/server-data
   </post_install>
-
   <configuration_files>
     <file description="Main Config File">server.cfg</file>
   </configuration_files>