Skip to content

Commit

Permalink
Merge pull request #66 from IUrreta/main
Browse files Browse the repository at this point in the history
Main
  • Loading branch information
IUrreta authored Aug 16, 2023
2 parents d13ee09 + 519c2fd commit 5c5db6a
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion front/js/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ socket.onopen = () => {
};

const versionPanel = document.querySelector('.versionPanel');
fetch('./../launcher/version.conf')
fetch('./../version.conf')
.then(response => response.text())
.then(version => {
versionPanel.textContent = `${version}`;
Expand Down
File renamed without changes.
6 changes: 0 additions & 6 deletions launcher/launch.bat → launch.bat
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
@echo off
REM Ejecutar server.py en la carpeta "back" usando Python

for %%I in ("%CD%") do set "last_folder=%%~nI"
if "%last_folder%"=="DatabaseEditor" (
cd launcher
)

set /p version=<version.conf
echo Version: %version%
cd ..

cd back
pip install websockets
Expand Down
1 change: 0 additions & 1 deletion launcher/version.conf

This file was deleted.

4 changes: 2 additions & 2 deletions restart.vbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run "launcher\kill.bat", 0, True
WshShell.Run "launcher\launch.bat", 0, True
WshShell.Run "kill.bat", 0, True
WshShell.Run "launch.bat", 0, True
2 changes: 1 addition & 1 deletion run.vbs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run "launcher\launch.bat", 0, False
WshShell.Run "launch.bat", 0, False
1 change: 1 addition & 0 deletions version.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.4.3

0 comments on commit 5c5db6a

Please sign in to comment.