Skip to content

Commit

Permalink
Cliente se guarda en carpeta ao libre co
Browse files Browse the repository at this point in the history
  • Loading branch information
RecoX committed Aug 25, 2020
1 parent ff33f01 commit c21bf36
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Cliente/Init/Config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ SoundEffects=True
SoundVolume=100

[CLIENTE]
VERSIONTAGRELEASE=v0.13.35
VERSIONTAGRELEASE=v0

[FRAGSHOOTER]
Active=False
Active=True
Die=True
Kill=True
MurderedLevel=0
Expand Down
15 changes: 5 additions & 10 deletions Codigo/frmLauncher.frm
Original file line number Diff line number Diff line change
Expand Up @@ -730,26 +730,21 @@ On Error Resume Next
SubDirectoryApp = GetVar(App.Path & "\ConfigAutoupdate.ini", ApplicationToUpdate, "folderToExtract")

'Por que el server no deja modificar por el UAC cosas lo movemos de lugar.
'Hacemos un Left para poder solo obtener la letra del HD
Dim ApplicationPath As String
ApplicationPath = Left$(App.path, 2) & "\AO-Libre\"

'Hacemos un Left para poder solo obtener la letra del HD
'Por que por culpa del UAC no permite editar archivos del server.
If Dir(ApplicationPath, vbDirectory) = "" Then
MkDir ApplicationPath
End If

If ApplicationToUpdate <> "Cliente Argentum Online Libre" Then
'Creamos sub-carpeta de aplicacion
ApplicationPath = ApplicationPath & SubDirectoryApp
If Dir(ApplicationPath, vbDirectory) = "" Then
MkDir ApplicationPath
End If
Else
ApplicationPath = App.Path & "\" & SubDirectoryApp
'Creamos sub-carpeta de aplicacion
ApplicationPath = ApplicationPath & SubDirectoryApp
If Dir(ApplicationPath, vbDirectory) = "" Then
MkDir ApplicationPath
End If


If NoInternetConnection = True Then
Call addConsole("No hay conexion a internet/No Internet Connection", 255, 0, 0, True, False)
Dim versionNumberLocal As String
Expand Down

0 comments on commit c21bf36

Please sign in to comment.