-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBuild.ps1
More file actions
32 lines (29 loc) · 996 Bytes
/
Copy pathBuild.ps1
File metadata and controls
32 lines (29 loc) · 996 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
$ErrorActionPreference = "Stop"
$root = Split-Path -Parent $MyInvocation.MyCommand.Path
python -m pip install -r (Join-Path $root "LiquidMemoWidget\requirements.txt")
python -m pip install pyinstaller
python -m PyInstaller `
--noconfirm `
--clean `
--noconsole `
--name LiquidMemoWidget `
--collect-all qfluentwidgets `
--collect-all icalendar `
--collect-all recurring_ical_events `
--collect-all cryptography `
--collect-all OpenGL `
--collect-submodules dateutil `
--collect-data tzdata `
--hidden-import xml.etree.ElementTree `
--hidden-import hashlib `
--hidden-import base64 `
--hidden-import ctypes `
--hidden-import json `
--hidden-import os `
--hidden-import OpenGL.platform.win32 `
--hidden-import PySide6.QtOpenGLWidgets `
--hidden-import PySide6.QtOpenGL `
--icon "$root\assets\logo.ico" `
--add-data "$root\assets\logo.ico;assets" `
--add-data "$root\LiquidMemoWidget;LiquidMemoWidget" `
(Join-Path $root "RunLiquidMemoWidget.pyw")