mirror of
https://github.com/wukko/cobalt.git
synced 2025-04-30 14:34:27 +02:00

- added download popup to solve the issue with downloads on ios - merged big and small popups into one - made buttons in donation menu act like buttons - began to clean up localisation - added ability to embed repo url into localisation strings - moved ffmpeg args to config for more flexibility (and hopefully future changes) - removed error response in stream that could result in a crash - removed notice for ios users from about cause it's no longer relevant - made error popup look and act like the rest - a tiny bit of clean up - ill do better changelog tomorrow i think
8 lines
303 B
JavaScript
8 lines
303 B
JavaScript
import { execSync } from "child_process";
|
|
|
|
export function shortCommit() {
|
|
return execSync('git rev-parse --short HEAD').toString().trim()
|
|
}
|
|
export function getCommitInfo() {
|
|
return execSync(`git show -s --format='%s;;;%B'`).toString().trim().slice(1,-1).replace(/[\r\n]/gm, '\n').split(';;;')
|
|
} |