Skip to content

Commit 7a3d008

Browse files
committed
refactor: Update build and window management configurations
- Modify Makefile to use default build configuration instead of release - Simplify Windows window styling by removing extra window flags - Update Flutter launcher controller to remove redundant window show method - Update pnpm-lock.yaml to latest lockfile version - Remove platform-specific window show workaround on Windows
1 parent cd02a6d commit 7a3d008

File tree

7 files changed

+2526
-2047
lines changed

7 files changed

+2526
-2047
lines changed

.cursor/rules/common.mdc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
---
2+
description:
3+
globs:
4+
alwaysApply: false
5+
---
6+
---
27
description: MUST USE THIS RULE
38
globs:
49
alwaysApply: true
510
---
611
* 你在回答问题的时候请使用中文回答我, 但是生成的代码中的注释必须使用英文
712
* 当你需要查看日志的时候,请使用 `tail -n 100 ~/.wox/log/log` 查看最新日志, 帮助你排查问题
8-
* 在解决任何问题之前, 请在项目根目录下面执行一下 ls , 这样你对整个项目的结构有一个了解
913

1014

1115
# 项目结构

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
steps:
5050
- uses: actions/checkout@v3
5151
- name: Build
52-
run: make publish
52+
run: make build
5353
env:
5454
KEYCHAINPWD: ${{ matrix.needs_keychain && secrets.KEYCHAINPWD || '' }}
5555
- name: Upload artifact

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: publish clean _bundle_mac_app plugins help dev test check_deps
1+
.PHONY: build clean _bundle_mac_app plugins help dev test check_deps
22

33
# Determine the current platform
44
ifeq ($(OS),Windows_NT)
@@ -30,7 +30,7 @@ help:
3030
@echo " help Show this help message"
3131
@echo " dev Setup development environment"
3232
@echo " test Run tests"
33-
@echo " publish Build and publish all components"
33+
@echo " build Build all components"
3434
@echo " plugins Update plugin store"
3535
@echo " clean Clean release directory"
3636

@@ -76,7 +76,7 @@ test: dev
7676
only_test:
7777
cd wox.core && go test ./... -v -skip "TestFetchCryptoPrices|TestCalculatorCrypto|TestCalculatorCurrency"
7878

79-
publish: clean dev
79+
build: clean dev
8080
$(MAKE) -C wox.core build
8181

8282
ifeq ($(PLATFORM),windows)

0 commit comments

Comments
 (0)