mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
réarganisation du back en services, mise de depot downloader dans les assets
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import { InitDownloadInfoInterface } from 'main/ipcs/bs-download-ipcs';
|
||||
import { InitDownloadInfoInterface } from '../main/ipcs/bs-download-ipcs';
|
||||
import App from './App';
|
||||
import 'tailwindcss/tailwind.css';
|
||||
import './index.css'
|
||||
@@ -8,8 +8,14 @@ const container = document.getElementById('root')!;
|
||||
const root = createRoot(container);
|
||||
root.render(<App />);
|
||||
|
||||
// setTimeout(() => {
|
||||
// window.electron.ipcRenderer.sendMessage('bs-download.start', {app: '620980', depot: '620981', manifest: '6222769774084748916', stay: true, username: 'lekilleur618', folder: 'test2', cwd: 'C:\\test'} as InitDownloadInfoInterface);
|
||||
// }, 5000);
|
||||
|
||||
// window.electron.ipcRenderer.on('bs-download.ask-password', () => console.log('omg popup password'));
|
||||
|
||||
setTimeout(() => {
|
||||
window.electron.ipcRenderer.sendMessage('bs-download.start', {app: '620980', depot: '620981', manifest: '6222769774084748916', stay: true, username: 'lekilleur618', folder: 'test2', cwd: 'C:\\test'} as InitDownloadInfoInterface);
|
||||
window.electron.ipcRenderer.sendMessage('test-launch', null);
|
||||
}, 5000);
|
||||
|
||||
window.electron.ipcRenderer.on('bs-download.ask-password', () => console.log('omg popup password'));
|
||||
|
||||
Reference in New Issue
Block a user