ui布局自适应
This commit is contained in:
1 parent
98f44890f8
commit
3587129b90
40 files changed
+929
-142
No files matched your search
@@ -29,8 +29,8 @@ async function buildMac() {
|
||||
run(process.env.CXX || 'clang++', [
|
||||
'-std=c++17', '-O2', '-Wall', '-Wextra', '-Werror', '-fobjc-arc',
|
||||
'-arch', 'arm64', '-arch', 'x86_64', '-mmacosx-version-min=11.0',
|
||||
...commonSources, join(native, 'app_macos.mm'),
|
||||
'-framework', 'AppKit', '-framework', 'Foundation', '-o', executable,
|
||||
...commonSources, join(native, 'local_certificate.mm'), join(native, 'app_macos.mm'),
|
||||
'-framework', 'AppKit', '-framework', 'Foundation', '-framework', 'Security', '-o', executable,
|
||||
])
|
||||
await chmod(executable, 0o755)
|
||||
await writeFile(join(app, 'Contents', 'Info.plist'), `<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
Reference in new issue
Block a user