pc 앱 배포,다운로드 기능
This commit is contained in:
@@ -26,9 +26,11 @@ export async function openWidgetWindow(instance: FloatingWidgetInstance): Promis
|
||||
return;
|
||||
}
|
||||
|
||||
const title = `GoldenChart — 위젯 ${instance.rows}×${instance.cols}`;
|
||||
|
||||
const win = new WebviewWindow(label, {
|
||||
url: widgetUrl(instance),
|
||||
title: 'GoldenChart Widget',
|
||||
title,
|
||||
width: instance.width,
|
||||
height: instance.height,
|
||||
minWidth: 320,
|
||||
@@ -38,6 +40,7 @@ export async function openWidgetWindow(instance: FloatingWidgetInstance): Promis
|
||||
center: false,
|
||||
x: instance.position.x,
|
||||
y: instance.position.y,
|
||||
backgroundColor: '#1a1b26',
|
||||
});
|
||||
|
||||
widgetWindows.set(instance.id, win);
|
||||
|
||||
Reference in New Issue
Block a user