Skip to content

Commit

Permalink
Drop support for 32-bit Windows version
Browse files Browse the repository at this point in the history
  • Loading branch information
matsuo committed Aug 12, 2023
1 parent be66a4c commit 65e86e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019-2021 Emic Corporation
Copyright (c) 2019-2023 Emic Corporation

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
14 changes: 0 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ DIST_DIR=dist
MACOS_DIR=macos
MACOS_ALT_DIR=macos-alt
WINDOWS_DIR=windows-x64
WINDOWS_32BIT_DIR=windows-x32
DIST_MACOS_DIR=$(NAME)-$(VERSION)-$(MACOS_DIR)
DIST_WINDOWS_DIR=$(NAME)-$(VERSION)-$(WINDOWS_DIR)
DIST_WINDOWS_32BIT_DIR=$(NAME)-$(VERSION)-$(WINDOWS_32BIT_DIR)

all: build

Expand Down Expand Up @@ -44,10 +42,6 @@ build-windows:
mkdir -p $(DIST_DIR)/$(WINDOWS_DIR)
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 $(GOBUILD) -ldflags "-X main.version=$(VERSION)" -o $(DIST_DIR)/$(WINDOWS_DIR)/$(NAME).exe

build-windows-32bit:
mkdir -p $(DIST_DIR)/$(WINDOWS_32BIT_DIR)
GOOS=windows GOARCH=386 CGO_ENABLED=0 $(GOBUILD) -ldflags "-X main.version=$(VERSION)" -o $(DIST_DIR)/$(WINDOWS_32BIT_DIR)/$(NAME).exe

.PHONY: dist
dist-multiplatform: build
cd $(DIST_DIR) && \
Expand All @@ -65,14 +59,6 @@ dist-multiplatform: build
zip -r $(DIST_WINDOWS_DIR).zip $(DIST_WINDOWS_DIR) && \
cd ..

cd $(DIST_DIR) && \
mv $(WINDOWS_32BIT_DIR) $(DIST_WINDOWS_32BIT_DIR) && \
cp -p ../LICENSE.txt $(DIST_WINDOWS_32BIT_DIR)/ && \
cp -p ../README.md $(DIST_WINDOWS_32BIT_DIR)/ && \
cp -p ../release-notes.txt $(DIST_WINDOWS_32BIT_DIR)/ && \
zip -r $(DIST_WINDOWS_32BIT_DIR).zip $(DIST_WINDOWS_32BIT_DIR) && \
cd ..

ifeq ($(shell uname),Darwin)
dist: dist-multiplatform build-macos-alt
cd $(DIST_DIR) && \
Expand Down
3 changes: 2 additions & 1 deletion release-notes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ Version: 1.1.0 (in development)
- Support Apple Silicon on macOS.
- Add suport for macOS Big Sur 11, macOS Monterey 12 and macOS Ventura 13.
- Built with Go 1.20.
- [INFO] Drop support for macOS Catalina 10.15 or previous.
- [INFO] Drop support for 32-bit Windows version.
- [INFO] Drop support for Windows 10 Version 21H2 or previous.
- [INFO] Drop support for Windows 7.
- [INFO] Drop support for macOS Catalina 10.15 or previous.

Version: 1.0.0
Date: April 5, 2019
Expand Down

0 comments on commit 65e86e9

Please sign in to comment.