-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(client): move outline/device
and rename tun2socks to backend
#1962
Conversation
client/src/tun2socks
to client/src/backend
and move outline/device
to client/src/backend/outline/device
client/src/tun2socks
to client/src/backend
and move outline/device
to client/src/backend/outline/device
client/src/tun2socks
to client/src/backend
and move outline/device
to client/src/backend/outline/device
outline/device
and rename tun2socks to backend
@@ -11,7 +11,7 @@ IMPORT_PATH=$(IMPORT_HOST)/Jigsaw-Code/outline-apps | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can move the Makefile in another PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -37,7 +37,7 @@ $(BUILDDIR)/apple/Tun2socks.xcframework: $(BUILDDIR)/ios/Tun2socks.xcframework $ | |||
XGO=$(GOBIN)/xgo | |||
TUN2SOCKS_VERSION=v1.16.11 | |||
XGO_LDFLAGS='-w -X main.version=$(TUN2SOCKS_VERSION)' | |||
ELECTRON_PKG="./client/src/tun2socks/outline/electron" | |||
ELECTRON_PKG="./client/src/backend/outline/electron" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please double confirm this won't change the final binary name (it should be tun2socks
for Linux and tun2socks.exe
for Windows).
Or maybe we should actually update it to backend
and backend.exe
? It's up to you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can do this in a later pr, I'm trying to minimize breakage.
I can't build tun2socks until @fortuna's pr fixing the xgo issue is merged. Do you mind confirming?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's prioritize fixing the client first. I worry this refactoring will further break things.
Once the client is fixed and verified, we can proceed with this change.
Closing this in favor of just deleting outline/device |
Note that this blocks the removal of
client/src