Commit 646aa13 1 parent 88eec4c commit 646aa13 Copy full SHA for 646aa13
File tree 1 file changed +13
-2
lines changed
1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,18 @@ async function clone() {
135
135
}
136
136
}
137
137
138
- clone ( ) ;
138
+ // clone();
139
+
140
+ // Download it
141
+ const repoUrl = 'https://github.com/EmuDeck/emudeck-launcher-themes.git' ; // Cambia esto por la URL de tu repositorio
142
+ const destinationPath = `${ homeUser } /emudeck/launcher/themes` ; // Cambia esto por tu directorio de destino
143
+
144
+ cloneOrUpdateRepository ( repoUrl , destinationPath )
145
+ . then ( ( ) => {
146
+ console . log ( 'Themes descargadas y guardadas con éxito.' ) ;
147
+ createWindow ( ) ;
148
+ } )
149
+ . catch ( ( error ) => console . error ( 'Error al guardar los themes:' , error ) ) ;
139
150
140
151
// Library SQLITE
141
152
const dbPathLibrary = `${ homeUser } /emudeck/launcher/sqlite/library.db` ;
@@ -974,7 +985,7 @@ app.on('window-all-closed', () => {
974
985
app
975
986
. whenReady ( )
976
987
. then ( ( ) => {
977
- createWindow ( ) ;
988
+ // createWindow();
978
989
app . on ( 'activate' , ( ) => {
979
990
// On macOS it's common to re-create a window in the app when the
980
991
// dock icon is clicked and there are no other windows open.
You can’t perform that action at this time.
0 commit comments