-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
//---------------------------------------- | ||
// | ||
// Copyright © yanghy. All Rights Reserved. | ||
// | ||
// Licensed under Apache License Version 2.0, January 2004 | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
//---------------------------------------- | ||
|
||
//go:build linux && 386 | ||
// +build linux,386 | ||
|
||
package assets | ||
|
||
import ( | ||
"embed" | ||
"io/fs" | ||
) | ||
|
||
//go:embed upx/upx-linux-386 | ||
var upx embed.FS | ||
|
||
func UpxBytes() (fs.File, error) { | ||
return upx.Open("upx/upx-linux-386") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
//---------------------------------------- | ||
// | ||
// Copyright © yanghy. All Rights Reserved. | ||
// | ||
// Licensed under Apache License Version 2.0, January 2004 | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
//---------------------------------------- | ||
|
||
//go:build linux && arm | ||
// +build linux,arm | ||
|
||
package assets | ||
|
||
import ( | ||
"embed" | ||
"io/fs" | ||
) | ||
|
||
//go:embed upx/upx-linux-arm | ||
var upx embed.FS | ||
|
||
func UpxBytes() (fs.File, error) { | ||
return upx.Open("upx/upx-linux-arm") | ||
} |
Empty file.
Empty file.