Skip to content

Commit

Permalink
Merge pull request #18 from kumpeapps:PreProd
Browse files Browse the repository at this point in the history
Release 2.0.10
  • Loading branch information
justinkumpe authored Jun 17, 2024
2 parents 30c3261 + 782f5c2 commit 5a89371
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '2.0.8({build})'
version: '2.0.10({build})'
environment:
matrix:
- job_name: "build Android"
Expand Down Expand Up @@ -84,7 +84,7 @@ for:

build_script:
- echo "is_mobile=0" >> .env
- flet build macos --project "kumpe3dkiosk" --product "Kumpe3D Kiosk" --build-version "${APPVEYOR_REPO_TAG_NAME:-"2.0.8"}" --build-number $APPVEYOR_BUILD_NUMBER --copyright "Copyright (c) 2024 KumpeApps LLC" --org com.kumpeapps.flet --company "KumpeApps LLC" --include-packages flet_audio
- flet build macos --project "kumpe3dkiosk" --product "Kumpe3D Kiosk" --build-version "${APPVEYOR_REPO_TAG_NAME:-"2.0.10"}" --build-number $APPVEYOR_BUILD_NUMBER --copyright "Copyright (c) 2024 KumpeApps LLC" --org com.kumpeapps.flet --company "KumpeApps LLC" --include-packages flet_audio

after_build:
- tar -czvf kumpe3dkiosk-macos.tar.gz -C build/macos "Kumpe3D Kiosk.app"
Expand Down Expand Up @@ -127,7 +127,7 @@ for:

build_script:
- echo "is_mobile=1" >> .env
- flet build ipa --project "kumpe3dkiosk" --product "Kumpe3D Kiosk" --build-version "${APPVEYOR_REPO_TAG_NAME:-"2.0.8"}" --build-number $APPVEYOR_BUILD_NUMBER --copyright "Copyright (c) 2024 KumpeApps LLC" --org com.kumpeapps.flet --company "KumpeApps LLC" --include-packages flet_audio --template https://github.com/kumpeapps/flet-build-template.git --template-ref Kumpe3D_Kiosk --flutter-build-args=--release
- flet build ipa --project "kumpe3dkiosk" --product "Kumpe3D Kiosk" --build-version "${APPVEYOR_REPO_TAG_NAME:-"2.0.10"}" --build-number $APPVEYOR_BUILD_NUMBER --copyright "Copyright (c) 2024 KumpeApps LLC" --org com.kumpeapps.flet --company "KumpeApps LLC" --include-packages flet_audio --template https://github.com/kumpeapps/flet-build-template.git --template-ref Kumpe3D_Kiosk --flutter-build-args=--release
# --team 2T42Z3DM34

after_build:
Expand All @@ -151,7 +151,7 @@ for:

build_script:
- echo "is_mobile=1" >> .env
- flet build apk --project "kumpe3dkiosk" --product "Kumpe3D Kiosk" --build-version "${APPVEYOR_REPO_TAG_NAME:-"2.0.8"}" --build-number $APPVEYOR_BUILD_NUMBER --copyright "Copyright (c) 2024 KumpeApps LLC" --org com.kumpeapps.flet --company "KumpeApps LLC" --include-packages flet_audio
- flet build apk --project "kumpe3dkiosk" --product "Kumpe3D Kiosk" --build-version "${APPVEYOR_REPO_TAG_NAME:-"2.0.10"}" --build-number $APPVEYOR_BUILD_NUMBER --copyright "Copyright (c) 2024 KumpeApps LLC" --org com.kumpeapps.flet --company "KumpeApps LLC" --include-packages flet_audio

after_build:
- tar -czvf kumpe3dkiosk-apk.tar.gz -C build apk
Expand Down
4 changes: 4 additions & 0 deletions views/productlabel.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ def print_clicked(_):
add_label_to_printq(sku, qr_data, "square_product_label")
if barcode_label_check.value:
add_label_to_printq(sku, sku, "barcode_label")
if wide_barcode_label_check.value:
add_label_to_printq(sku, sku, "wide_barcode_label")

def add_label_to_printq(sku: str, qr_data: str, label_type: str):
print("PrintQ")
Expand Down Expand Up @@ -300,6 +302,7 @@ def get_distributors() -> list:

product_label_check = ft.Checkbox(label="Product Label", value=True)
barcode_label_check = ft.Checkbox(label="Barcode Label")
wide_barcode_label_check = ft.Checkbox(label="Wide Barcode Label")
shelf_label_check = ft.Checkbox(label="Shelf Label")

def distributor_dropdown_change(_):
Expand Down Expand Up @@ -332,6 +335,7 @@ def distributor_dropdown_change(_):
distributor_dropdown,
product_label_check,
barcode_label_check,
wide_barcode_label_check,
shelf_label_check,
],
)
Expand Down

0 comments on commit 5a89371

Please sign in to comment.