Skip to content

Commit 135619a

Browse files
authored
new logo (#170)
1 parent e6200dd commit 135619a

File tree

10 files changed

+62
-5
lines changed

10 files changed

+62
-5
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
key: ${{runner.os}}-bazel-cache
2424
- uses: actions/checkout@v3
2525
- run: bazel run --config=ci //:copy_dist_include
26+
- run: bazel run --config=ci //:copy_dist_images
2627
- run: bazel run --config=ci //:copy_runfiles
2728
- run: rm -rf dist/bin/ecsact_rtb.runfiles/boost_mp11_files/.github
2829
- run: rm -rf dist/bin/ecsact_rtb.runfiles/boost_mp11_files/doc

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,5 @@
1515
# MSIX distribution folder
1616
/dist/*
1717
!/dist/AppxManifest.xml
18-
!/dist/images
1918
*.msix
2019
*.zip

BUILD.bazel

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,17 @@ bzlws_copy(
3131
force = True,
3232
)
3333

34+
bzlws_copy(
35+
name = "copy_dist_images",
36+
srcs = [
37+
"@ecsact_logo//:ecsact-color",
38+
"@ecsact_logo//:ecsact-color150",
39+
"@ecsact_logo//:ecsact-color44",
40+
],
41+
out = "dist/images/{FILENAME}",
42+
force = True,
43+
)
44+
3445
bzlws_copy(
3546
name = "copy_dist_include",
3647
srcs = [

CopyDist.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
$ErrorActionPreference = 'Stop'
44

55
git clean dist -fdx
6-
bazel build //:copy_dist_include //:copy_runfiles //:copy_dist_bin //:copy_dist_codegen_plugins
6+
bazel build //:copy_dist_include //:copy_runfiles //:copy_dist_bin //:copy_dist_codegen_plugins //:copy_dist_images
77
bazel run --ui_event_filters=-info --noshow_progress //:copy_dist_include
8+
bazel run --ui_event_filters=-info --noshow_progress //:copy_dist_images
89
bazel run --ui_event_filters=-info --noshow_progress //:copy_runfiles
910
bazel run --ui_event_filters=-info --noshow_progress //:copy_dist_bin
1011
bazel run --ui_event_filters=-info --noshow_progress //:copy_dist_codegen_plugins

CreateMsix.ps1

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,27 @@ $ErrorActionPreference = 'Stop'
1010

1111
$MakeAppxPath = "${env:ProgramFiles(x86)}\Windows Kits\10\bin\10.0.22621.0\x64\makeappx.exe"
1212
$SignToolPath = "${env:ProgramFiles(x86)}\Windows Kits\10\bin\10.0.22621.0\x64\signtool.exe"
13+
$MakePriPath = "${env:ProgramFiles(x86)}\Windows Kits\10\bin\10.0.22621.0\x64\makepri.exe"
1314

1415
$CertPasswordPlain = ConvertFrom-SecureString -SecureString $CertPassword -AsPlainText
1516

1617
try {
1718
((Get-Content -path .\dist\AppxManifest.xml -Raw) -replace '0.0.0.0-placeholder',"$($Version).0") | Set-Content -Path .\dist\AppxManifest.xml
1819
$MsixPath = "ecsact_sdk_$($Version)_windows_x64.msix"
1920

21+
Copy-Item ".\dist\images\ecsact-color44.png" ".\dist\images\ecsact-color44.targetsize-44_altform-unplated.png" -Force
22+
Copy-Item ".\dist\images\ecsact-color150.png" ".\dist\images\ecsact-color150.targetsize-150_altform-unplated.png" -Force
23+
24+
& $MakePriPath createconfig /cf .\dist\priconfig.xml /dq en-US /o
25+
if(-not $?) {
26+
throw "$MakePriPath createconfig failed with exit code ${LastExitCode}"
27+
}
28+
29+
& $MakePriPath new /pr .\dist /cf .\dist\priconfig.xml /dq en-US /o /OutputFile ".\dist\resources.pri"
30+
if(-not $?) {
31+
throw "$MakePriPath new failed with exit code ${LastExitCode}"
32+
}
33+
2034
& $SignToolPath sign `
2135
/debug /fd SHA384 `
2236
/f $CertPath `

WORKSPACE.bazel

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,37 @@ load("@rules_7zip//:setup.bzl", "setup_7zip")
138138

139139
setup_7zip()
140140

141+
http_archive(
142+
name = "bazel_skylib",
143+
sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506",
144+
urls = [
145+
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
146+
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
147+
],
148+
)
149+
150+
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
151+
152+
bazel_skylib_workspace()
153+
154+
http_archive(
155+
name = "rules_blender",
156+
sha256 = "ac8dd6fb84f058beb774529baad8d27249415ee99ff9c7b3dda004722f055dcb",
157+
strip_prefix = "rules_blender-580815c406f5dac682b2816314b5a2f7bbdb2ce3",
158+
urls = ["https://github.com/zaucy/rules_blender/archive/580815c406f5dac682b2816314b5a2f7bbdb2ce3.zip"],
159+
)
160+
161+
load("@rules_blender//:repo.bzl", "blender_repository")
162+
163+
blender_repository(name = "blender")
164+
165+
http_archive(
166+
name = "ecsact_logo",
167+
sha256 = "0ecba63837824cb9588ca350e8a9bd1263eb809be8e699aaefd0d7134fd533fe",
168+
strip_prefix = "logo-ad8a285861d4744460d9d2a6458a4010a4ccf3e4",
169+
urls = ["https://github.com/ecsact-dev/logo/archive/ad8a285861d4744460d9d2a6458a4010a4ccf3e4.zip"],
170+
)
171+
141172
http_archive(
142173
name = "hedron_compile_commands",
143174
sha256 = "4deb7cd90ba69983ec7734c0dcc7071828ebdc430a69f82ddbccf698018b9c04",

dist/AppxManifest.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Properties>
55
<DisplayName>Ecsact SDK</DisplayName>
66
<PublisherDisplayName>Seaube</PublisherDisplayName>
7-
<Logo>images\logo.png</Logo>
7+
<Logo>images\ecsact-color.png</Logo>
88
<Description>Ecsact development tools and runtime headers. https://ecsact.dev</Description>
99
</Properties>
1010
<Resources>
@@ -15,7 +15,7 @@
1515
</Dependencies>
1616
<Applications>
1717
<Application Id="EcsactSdk.Ecsact" Executable="bin/ecsact.exe" EntryPoint="Windows.FullTrustApplication">
18-
<uap3:VisualElements DisplayName="Ecsact CLI" Description="Ecsact Command Line Interface" BackgroundColor="transparent" Square44x44Logo="images/logo44.png" Square150x150Logo="images/logo150.png" AppListEntry="none" VisualGroup="Ecsact" />
18+
<uap3:VisualElements DisplayName="Ecsact CLI" Description="Ecsact Command Line Interface" BackgroundColor="transparent" Square44x44Logo="images/ecsact-color44.png" Square150x150Logo="images/ecsact-color150.png" AppListEntry="none" VisualGroup="Ecsact" />
1919
<Extensions>
2020
<uap3:Extension Category="windows.appExecutionAlias">
2121
<uap3:AppExecutionAlias>
@@ -25,7 +25,7 @@
2525
</Extensions>
2626
</Application>
2727
<Application Id="EcsactSdk.EcsactRuntimeBuilder" Executable="bin/ecsact_rtb.exe" EntryPoint="Windows.FullTrustApplication">
28-
<uap3:VisualElements DisplayName="Ecsact Runtime Builder CLI" Description="Ecsact Runtime Builder Command Line Interface" BackgroundColor="transparent" Square44x44Logo="images/logo44.png" Square150x150Logo="images/logo150.png" AppListEntry="none" VisualGroup="Ecsact" />
28+
<uap3:VisualElements DisplayName="Ecsact Runtime Builder CLI" Description="Ecsact Runtime Builder Command Line Interface" BackgroundColor="transparent" Square44x44Logo="images/ecsact-color44.png" Square150x150Logo="images/ecsact-color150.png" AppListEntry="none" VisualGroup="Ecsact" />
2929
<Extensions>
3030
<uap3:Extension Category="windows.appExecutionAlias">
3131
<uap3:AppExecutionAlias>

dist/images/logo.png

-72.5 KB
Binary file not shown.

dist/images/logo150.png

-29 KB
Binary file not shown.

dist/images/logo44.png

-3.81 KB
Binary file not shown.

0 commit comments

Comments
 (0)