mirror of https://github.com/jetkvm/kvm.git
Compare commits
3 Commits
14327a666b
...
91666cfefb
| Author | SHA1 | Date |
|---|---|---|
|
|
91666cfefb | |
|
|
bdd6f4247b | |
|
|
0baf6be8b5 |
|
|
@ -69,3 +69,23 @@ jobs:
|
|||
path: |
|
||||
bin/jetkvm_app
|
||||
device-tests.tar.gz
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
name: Release
|
||||
needs: build
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
- name: Draft release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
# need review before making a real release
|
||||
draft: true
|
||||
files: bin/jetkvm_app
|
||||
fail_on_unmatched_files: true
|
||||
tag_name: ${{ github.ref }}
|
||||
name: ${{ github.ref }}
|
||||
generate_release_notes: true
|
||||
|
|
@ -118,7 +118,6 @@ func uiInit(rotation uint16) {
|
|||
defer cgoLock.Unlock()
|
||||
|
||||
cRotation := C.u_int16_t(rotation)
|
||||
defer C.free(unsafe.Pointer(&cRotation))
|
||||
|
||||
C.jetkvm_ui_init(cRotation)
|
||||
}
|
||||
|
|
@ -350,7 +349,6 @@ func uiDispSetRotation(rotation uint16) (bool, error) {
|
|||
nativeLogger.Info().Uint16("rotation", rotation).Msg("setting rotation")
|
||||
|
||||
cRotation := C.u_int16_t(rotation)
|
||||
defer C.free(unsafe.Pointer(&cRotation))
|
||||
|
||||
C.jetkvm_ui_set_rotation(cRotation)
|
||||
return true, nil
|
||||
|
|
|
|||
Loading…
Reference in New Issue