Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Commit

Permalink
change default substore port
Browse files Browse the repository at this point in the history
  • Loading branch information
pompurin404 committed Sep 25, 2024
1 parent 954a8bb commit 66a270d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resolve/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ export async function startSubStoreServer(): Promise<void> {
} = await getAppConfig()
if (!useSubStore) return
if (!subStoreFrontendPort) {
subStoreFrontendPort = await findAvailablePort(4000)
subStoreFrontendPort = await findAvailablePort(14122)
const app = express()
app.use(express.static(path.join(resourcesFilesDir(), 'sub-store-frontend')))
app.listen(subStoreFrontendPort)
}
if (!useCustomSubStore && !subStorePort) {
subStorePort = await findAvailablePort(3000)
subStorePort = await findAvailablePort(38324)
const icon = nativeImage.createFromPath(subStoreIcon)
icon.toDataURL()
new Worker(path.join(resourcesFilesDir(), 'sub-store.bundle.js'), {
Expand Down

0 comments on commit 66a270d

Please sign in to comment.