Skip to content

Commit

Permalink
Fix some minor issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
oldj committed Jul 2, 2019
1 parent bc5081e commit bffcb59
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 15 deletions.
24 changes: 15 additions & 9 deletions app-ui/frame/PreferencesPrompt.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -262,17 +262,23 @@ export default class PreferencesPrompt extends React.Component {
tabPosition="left"
style={{minHeight: height}}
>
<TabPane tab={lang.pref_tab_general} key="1" style={{height}}>
{this.prefLanguage()}
{this.prefChoiceMode()}
{/*{this.prefAutoLaunch()}*/}
{this.prefMinimizeAtLaunch()}
<TabPane tab={lang.pref_tab_general} key="1">
<div style={{minHeight: height}}>
{this.prefLanguage()}
{this.prefChoiceMode()}
{/*{this.prefAutoLaunch()}*/}
{this.prefMinimizeAtLaunch()}
</div>
</TabPane>
<TabPane tab={lang.pref_tab_custom_cmd} key="2" style={{height}}>
{this.prefAfterCmd()}
<TabPane tab={lang.pref_tab_custom_cmd} key="2">
<div style={{minHeight: height}}>
{this.prefAfterCmd()}
</div>
</TabPane>
<TabPane tab={lang.pref_tab_advanced} key="3" style={{height}}>
{this.prefAdvanced()}
<TabPane tab={lang.pref_tab_advanced} key="3">
<div style={{minHeight: height}}>
{this.prefAdvanced()}
</div>
</TabPane>
</Tabs>
</div>
Expand Down
4 changes: 2 additions & 2 deletions app/server/checkUpdate.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ exports.check = (is_silent = false) => {
//let body = res.text

let $ = cheerio.load(body)
let a = $('.release-meta .css-truncate-target')
let a = $('.release-entry .css-truncate-target')
if (a.length <= 0) {
console.log('not found versios!')
console.log('did not find any versions!')
return
}
let last_v = $(a[0]).text()
Expand Down
2 changes: 1 addition & 1 deletion app/ui/app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/ui/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = [3, 3, 13, 5396]
module.exports = [3, 3, 13, 5397]
2 changes: 1 addition & 1 deletion scripts/make.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const version = require('../app/version')

const cfg_common = {
appId: 'SwitchHosts',
productName: 'SwitchHosts',
productName: 'SwitchHosts!',
copyright: moment().format('Y'),
buildVersion: version[3],
directories: {
Expand Down

0 comments on commit bffcb59

Please sign in to comment.